PHP Mail Not Working After Ubuntu 12 to 18 Update

Hey Mates,

Recently I have upgraded and migrated our server to new Ubuntu version and new Linode disk.

FROM

  • 2 GB Linode Plan Disk (OLD)
  • Ubuntu 12.x

.

TO

  • 2 GB Linode Plan Disk (NEW)
  • Ubuntu 18.04 LTS

After this migration process, all things are good rather than PHP Mail.

Like only PHP mail not working on my server. I am able to send the email when using SMTP.

I need help to fix the PHP Mail functionality on my server, any type of help is really appreciated.

Thanks
A WP Life

1 Reply

Ubuntu 12 has been EOL for 2 years, but better late than never. Does it work from the CLI? What do the logs say?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct