Jump to content

PHP MAIL method failing


wmarcy

Recommended Posts

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.

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...