Jump to content

[SOLVED] mail() not mailing -- no errors


michaellunsford

Recommended Posts

I migrated servers a little while back and heard that my old contact form isn't working. So I sent myself a bunch of messages with it. Nothing. I built this little script:

 

<?php mail('[email protected]','test message','test body'); ?>

 

Nothing.

 

on the off chance that I did something stoopid, I add in the

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

 

Still no errors, and no email. Here's everything in my phpinfo that has "mail" in it:

 

mail.force_extra_parameters no value no value

sendmail_from no value no value

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

Path to sendmail /usr/sbin/sendmail -t -i

 

What do I look for next?

Link to comment
https://forums.phpfreaks.com/topic/130632-solved-mail-not-mailing-no-errors/
Share on other sites

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.