Jump to content

[Solved] Php Mail Troubles


Pol

Recommended Posts

Hi,

I'm using in my scripts the php function mail().

When I first used it some days ago, it worked fine. Today, with the same code, it doesn't work: it return always false and it doesn't send any mail.

Can anyone help me?

 

Host: Depositario

Server: Stevie

 

Than you

Link to comment
Share on other sites

Something along these lines:

 

echo (mail($rec,$sub,$body,$head)) ? 'Message sent!' : 'Sending failed!';

 

echos the false message?

 

EDIT: Well i used a file with

 

&--#60;?php

$rec = 'shinryuukai@shinryuu.uni.me';
$sub = 'just a test';
$body = 'totally a test';
$head = 'i\'m you!';
echo (mail($rec,$sub,$body,$head)) ? 'Message sent!' : 'Sending failed!';
?&--#62;

 

and got told 'sending failed!' so it seems email's down on Stevie.

Link to comment
Share on other sites

It was working until a day or so ago but now stopped. I now get this msg which I know is drupal core msg but may help.

 

"Unable to send e-mail. Contact the site administrator if the problem persists."

 

This is the site "http://west-herts-squash.heliohost.org". I have had a problem before when the email forwarder seemed to stop sending to my work a/c but it started working again after I changed one of the forwarded addresses.

 

It seems to me the email system on helio servers is not too stable.

 

thanks Nick

Link to comment
Share on other sites

Are you on Stevie by any chance? Seems the mail exchange is going wonky, a user may be abusing the system and flooding it with requests or some other such thing. I'm sure the problem will be resolved soon.

Link to comment
Share on other sites

Mail on Stevie's just been broken all day in general, there's two others users who posted the issue.

 

EDIT: And after posting that I tried my mailtest.php file and it worked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...