All email notification not working

m using ojs latest version some emails notification working fine but
some email notifications not going to the editor and author. like when author submit a paper. no one email coming on submission@domainname/ notification@domainname
and second when an editor sends a paper for review none of the emails goes to author email id and on editor@domainname