Pol Posted November 20, 2012 Posted November 20, 2012 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: DepositarioServer: Stevie Than you
Byron Posted November 20, 2012 Posted November 20, 2012 I just sent an email using the mail() from my account on stevie without any problems. Check your script and try it again.
Pol Posted November 21, 2012 Author Posted November 21, 2012 The scripts worked again after 2 hours I've written the post (after this topic: http://www.helionet.org/index/topic/14030-solved-email-smtp-error-cant-send-email/ has been solved), but now it doesn't work again.
bitbull Posted November 21, 2012 Posted November 21, 2012 Hi, sending mail with the php $mail function does not work since a few days, the function returns 'false'. My code is perfectly fine. Does anybody know how to fix this? Username: andreeeServer: Stevie Thanks in advance!
Shinryuu Posted November 21, 2012 Posted November 21, 2012 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.
bitbull Posted November 21, 2012 Posted November 21, 2012 Thank you. That's exactly what I mean.How long will it take until the service is available again?
McCozza Posted November 21, 2012 Posted November 21, 2012 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
Shinryuu Posted November 21, 2012 Posted November 21, 2012 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.
McCozza Posted November 21, 2012 Posted November 21, 2012 Yes I am on Stevie. Thanks for the update. That's a big relief it may not be my fault. Nick
Krydos Posted November 22, 2012 Posted November 22, 2012 Are you sending so many emails that it is refusing to send anymore and giving you error messages?
Shinryuu Posted November 22, 2012 Posted November 22, 2012 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.
Krydos Posted November 22, 2012 Posted November 22, 2012 there's two others users who posted the issue.Yeah, that's why I combined all the duplicate threads.EDIT: And after posting that I tried my mailtest.php file and it worked.I guess it's working now for everyone then?
Pol Posted November 22, 2012 Author Posted November 22, 2012 Now it's working. But I suggest not to close already this topic but to continue monitoring the situazion for a few.Thanks! :-)
Recommended Posts