PHP Mail not functioning properly or is it my coding?

todd_legend59

New Member
Messages
5
Reaction score
0
Points
0
Hi guys, my basic PHP input form has all of a sudden stopped working, its worked great for the last couple of days but now nothing is coming through.

No changes have been made its literally just stopped of its own accord, which leads me to think that this is a problem on the server side. I ran this PHP code that i found on google to test if it was working but i still don't seem to get the form results to my email address.

I tried this as a test and don't get any results.

PHP:
<?php
mail('myemail@test.com','Test mail','The mail function is working!');
echo 'Mail sent!';
?>

Can anyone confirm that PHP mail has been disabled by admin?
 
Last edited:

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
PHP mail has not been disabled, but a couple email hosting people (hotmail and yahoo, I think) have blacklisted x10hosting.

Try emailing an @yoursite.x10hosting.com email address using that code, it should work.

~Callum
 

todd_legend59

New Member
Messages
5
Reaction score
0
Points
0
Thanks mate im going to give that a go. I was originally receiving all the emails though, that's what i don't quite understand.

I got about 200 or so into my hotmail inbox via my feedback forms (they went straight to junk) But now all of a sudden i've stopped getting anything from my feedback forms and when I went to test them I realised they had totally stopped working.

I guess if it's not the servers fault, hotmail must have totally stopped them coming through because i'm not even getting them in the junk folder any more.

Todd
 
Last edited:
Top