i use a script to auto email me when http is down(not hosted on x10hosting because its checking x10hosting)
problem is that i keep getting mailed "Mail delivery failed: returning message to sender" on the webmail.
here are copies of the email(the emails listed here are me):
i would post the script but it is pretty long cause i made it so that other people can subscribe to it. here is a snippet:
$item['addr'] fetches the emails from a txt file, this works fine.
$subject is defined in the configuration file. works fine
$body is the actual mail contents, its in a txt file, this also works fine
$headers, i dont have any.
I dont know what the problem is, is it smtp?
problem is that i keep getting mailed "Mail delivery failed: returning message to sender" on the webmail.
here are copies of the email(the emails listed here are me):
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
edit
unrouteable mail domain "hotmail.com"
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
edit
unrouteable mail domain "gmail.com"
i would post the script but it is pretty long cause i made it so that other people can subscribe to it. here is a snippet:
PHP:
(@mail($item['addr'], $subject, $body, $headers))
$item['addr'] fetches the emails from a txt file, this works fine.
$subject is defined in the configuration file. works fine
$body is the actual mail contents, its in a txt file, this also works fine
$headers, i dont have any.
I dont know what the problem is, is it smtp?
Last edited by a moderator: