html link in php mail -


I have the following code to send emails to users.

  $ mes_body = "Click to login .www.website.com/index.php\n\n"; $ Mes_body = "& Lt; a href = 'www.website.com/index.php' & gt; Click to login. & Lt; / a & gt; \ n \ n";  

Right now I am looking at email as:

  Click to log in www.website.com/index.php  

What does a clickable 'click to login' and is not exactly linked I think I'm using plaintest I can not change it right now because this Can there be any remedy for this? Thank you.

See Example # 4, "Sending HTML Email".

The issue is that your message needs the MIM header, which marks it as HTML instead of plain text.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -