mallen Posted January 9, 2009 Share Posted January 9, 2009 How can I include a link in a simple email. How should it be formated? $email="[email protected]"; $message= "Thank you for your email. Click this link to go to my web site"; mail($email, 'Thank you', $message, 'From:[email protected]'); Quote Link to comment https://forums.phpfreaks.com/topic/140106-sending-a-link-in-email/ Share on other sites More sharing options...
xtopolis Posted January 9, 2009 Share Posted January 9, 2009 One way is sending an email with HTML content: function.mail scroll down to example #4 The key thing is the headers, then adding HTML content Quote Link to comment https://forums.phpfreaks.com/topic/140106-sending-a-link-in-email/#findComment-733046 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.