vixsair Posted October 25, 2011 Share Posted October 25, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/249757-can-not-get-php-mail-working-on-centos-v60/ Share on other sites More sharing options...
trq Posted October 25, 2011 Share Posted October 25, 2011 mail is built into PHP. You do of course need a mail server installed though. Quote Link to comment https://forums.phpfreaks.com/topic/249757-can-not-get-php-mail-working-on-centos-v60/#findComment-1282003 Share on other sites More sharing options...
vixsair Posted October 26, 2011 Author Share Posted October 26, 2011 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 ?? Quote Link to comment https://forums.phpfreaks.com/topic/249757-can-not-get-php-mail-working-on-centos-v60/#findComment-1282281 Share on other sites More sharing options...
paparts Posted December 17, 2011 Share Posted December 17, 2011 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/ Quote Link to comment https://forums.phpfreaks.com/topic/249757-can-not-get-php-mail-working-on-centos-v60/#findComment-1298901 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.