Jump to content

mail() doesn't work...


Recommended Posts

Do any of you see why this doesn't work? The email simply doesn't get recieved (yes I've checked junk):

 

//$t_user is from a form...

 

$subject='Something Completely Different';

 

$message="<a href='www.xx.xxx.com/index.php?body=activate&name="."$t_user"."'>Click here to activate...</a>";

 

$t_mail="[email protected]";

 

mail($t_mail,$subject,$message,'Activation at xxx.');

Link to comment
https://forums.phpfreaks.com/topic/105598-mail-doesnt-work/
Share on other sites

OK thanks... next question:

 

Is there a way to put a link into the mail... when it comes out in the message (hot mail), it actually shows:

 

<a href='www.ne.simtoz.com/index.php?body=activate&name=[a username]>Click here to activate...</a>

 

Instead of parsing the html...

Link to comment
https://forums.phpfreaks.com/topic/105598-mail-doesnt-work/#findComment-540993
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.