Jump to content

Can not get PHP Mail working on CentOs v6.0


Recommended Posts

Hi there,

 

We are trying to get the mail function in wordpress to work. However, PHP Mail does'nt work for us to be able to access the wordpress mail function.

 

We are unsure if PHP mail is even installed or how to get it working.

 

Any help would be greatly appreciated.

Hi thorpe,

 

Thanks for the reply! We are running Postfix as our mail server. It looks like this is an SELinux issue. I Completely disabled SELinux and I'm now able to send out emails from the smtp mail server. I'm not entirely sure what settings I need to change in Selinux to get the smtp mail server fucntioning with SELinux ??

  • 1 month later...

If you have a mail server you can use php's mail function as what vixsair stated. But if you don't have a mail server you can try to relay it with gmail... Here is a link on how to do it: http://www.icpep.org/use-gmail-account-to-relay-email-from-php-mail-function/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.