harkly Posted May 3, 2013 Share Posted May 3, 2013 I using this simple code to send a test message if I put in my url it won't send, more like it sends but never gets received no matter what email account I use. If I put in another url it works fine. Does anyone know what causes that and how I can go about fixing it?? in this code I added a '2' to the url and it works, take the 2 out - nothing <?php mail('me@yahoo.com', 'Account Info', 'is this working? www.wlsingle2s.com');?> Quote Link to comment https://forums.phpfreaks.com/topic/277586-mail-issues/ Share on other sites More sharing options...
harkly Posted May 3, 2013 Author Share Posted May 3, 2013 I am trying this code out on 2 different servers and it definity stops when I enter the one particular url - how do I check why? Quote Link to comment https://forums.phpfreaks.com/topic/277586-mail-issues/#findComment-1427961 Share on other sites More sharing options...
PaulRyan Posted May 3, 2013 Share Posted May 3, 2013 Most likely the domain is a blacklisted keyword. Did you try with multiple different e-mail providers? Quote Link to comment https://forums.phpfreaks.com/topic/277586-mail-issues/#findComment-1427963 Share on other sites More sharing options...
Irate Posted May 3, 2013 Share Posted May 3, 2013 You need a properly working SMTP Server registered to a valid domain name to send those. Even if you have that, your host domain must match a valid and registered domain on the internet and even by that time, some email hosts still disallow PHP to send emails to them. Quote Link to comment https://forums.phpfreaks.com/topic/277586-mail-issues/#findComment-1427969 Share on other sites More sharing options...
harkly Posted May 3, 2013 Author Share Posted May 3, 2013 What I don't understand if that it was all working fine before last Friday and then nothing. It won't send to any email account I have people from different ones trying it and nothing as long as it has the wlsingles.com url in it even if its an email address from there won't work $headers = 'From: WLSingles <email@WLSingles.com>' ; So say it is got listed somewhere what do I do?? Start all over again?? A different domain name?? So ready to tear my hair out! Quote Link to comment https://forums.phpfreaks.com/topic/277586-mail-issues/#findComment-1427971 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.