mjahkoh Posted April 30, 2009 Share Posted April 30, 2009 Anybody help me send a link in an email using php mail function Eg <a href="index.php?username=myname">Click here to activate your account</a> Link to comment https://forums.phpfreaks.com/topic/156221-send-a-link-in-mail/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 30, 2009 Share Posted April 30, 2009 You must use a fully qualified URL because the email client does not have any point of reference to use a relative URL with - http://yourdomain.com/index.php?username=myname Link to comment https://forums.phpfreaks.com/topic/156221-send-a-link-in-mail/#findComment-822463 Share on other sites More sharing options...
LOUDMOUTH Posted April 30, 2009 Share Posted April 30, 2009 Using <a href="index.php?username=myname">Click here to activate your account</a> will only send the person to root directory URL's if they have a browser open and are visiting a site I think. Link to comment https://forums.phpfreaks.com/topic/156221-send-a-link-in-mail/#findComment-822464 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.