Help - Search - Members - Calendar
Full Version: PHP Mail() not working
The Planet Forums > Control Panels > Plesk
ijasont
I am having trouble with my php script for a mail() command not working.

I have been using this script on another server for years I know it is right. I just moved to this server yesterday and it no longer works. Is there a setting I need to change from the defaults that will enable this?

btw. yes my email address is changed to the right one icon_wink.gif

[PHP]
$sendmail = mail($mail_address, $subject, $message);
echo $sendmail;
[/PHP]
GraphicsGuy
I am having this same problem. But oddly, it is able to mail to internal addresses, but not external.

I have seen another thread at the Plesk forums on this same problem and I have posted there also. But nobody has any answers yet.

After wasting way to much time trying to figure it out, I am paying someone to help with it.
ijasont
I am actually trying to mail it internally. But nothing. No bounce notice no nothing. I dont even get any errors.

How odd.
ijasont
ok this is strange. I I have 3 email accounts. admin 'rootuser' and bot.

admin and bot do not work but if I use the default 'cpaneluser' email address it works just fine.

I am sure there is a way to get it to work for other email addresses but I got it working for the 'user' fo now that is better than nothing I guess.

Also, does your webmail.yoursite.com work? Mine does not.
GraphicsGuy
I don't use webmail so I don't really know about it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.