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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -