Jump to content

PHP MAIL method failing


wmarcy

Recommended Posts

Posted

I am trying to configure PHP mail to send my outgoing mail, and it is failing, I have included a screenshot of the error.  Anyone know how to get around this.

 

 

Screen Shot 2014-12-09 at 9.07.59 AM.png

Posted

Upload a script with just the following to debug why phpmail isn't working.  That issue would be outside of IP.Board (which is separate from the message about magic_quotes_gpc which should be reported as suggested).

 

<?php

ini_set('display_errors',1);
error_reporting(E_ALL);

mail( "youremailaddres", "Email subject", "Email body" );
exit;

 

Just be aware that php mail is often difficult to debug because not much feedback is given as to why an email fails to send.  You may need to look at the logs for the mail program on your server to find out the cause.

Posted

Copied that into my forum directory, and ran it from the browser and it worked perfectly.  Tried it again, in the ip.board ACP (test email, using php mail) and it fails. 

Any ideas?

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...