how to add click link inside the email body
Moderator: General Moderators
how to add click link inside the email body
how to add click link inside the email body 
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: how to add click link inside the email body
Send the email in HTML
Edit: You could also just add the tag; if the email is sent in plain-text and doesn't go into the junk mail folder it should still be clickable.
Code: Select all
<?php
$message ='
<html>
<body>
<a href="www.site.com/page">Go</a>
</body>
</html>';
mail($to, $subject, $message, $headers);
?>“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: how to add click link inside the email body
thank you for the suggestion, but the click link is under www.site.com/page not the Go ( on email)
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: how to add click link inside the email body
I don't understand what you mean with thisLphp wrote:thank you for the suggestion, but the click link is under www.site.com/page not the Go ( on email)
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: how to add click link inside the email body
you need to post your little snippet of code so we can see what you are talking about as that reads you see the website link not go on the email and if you want to change that then just change your text for the link between <a></a>.
Post your code and we could help.
Post your code and we could help.