Default php mail can't send email after migration

Default php mail can't send email after migration

by Kumar Shubham -
Number of replies: 2

I am using version 2.0. I just migrated my site to a new location and now email is not working. I was using default php mail previously. Now I this PHP default method of sending mail is not working. I really need help.

Average of ratings: -
In reply to Kumar Shubham

Re: Default php mail can't send email after migration

by Ken Task -
Picture of Particularly helpful Moodlers

Does the noreply address still point to user@oldsystem?  If it does, that might be the problem.  Mail servers see the noreply address is set to one server but getting the message from @newserver and think it's spam.  Thus blocks ... might even drop it on the floor ... meaning, no return/reply reason is sent to the sending server ... ie, Moodle.

'spirit of sharing', Ken