Jump to content

mail () issues


harkly

Recommended Posts

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');?>
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?? :confused:

So ready to tear my hair out!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.