Hi,
I am working on a project in which I need to insert an html tag (<a href>) into all the incoming messages.
The mail client(Exim) hands over the incoming message to my program and I insert the html tag at the appropriate place.
The code I am using to achieve this is
The string is inserted at the desired location in the message however it is not html formatted, the whole string is inserted as is, without any html formatting, like <a href =
Appreciate any help.
Thanks,
Tewari
I am working on a project in which I need to insert an html tag (<a href>) into all the incoming messages.
The mail client(Exim) hands over the incoming message to my program and I insert the html tag at the appropriate place.
The code I am using to achieve this is
Code:
string insrtstring = "Report as <a href=[URL unfurl="true"]http://users."[/URL] + pdObj.m_hostDomain1 +"/spamreporting.php?ms="+pdObj.m_filename +"&disp=allow&movedir="+name+">SPAM</a>"; => string to be inserted.
pdObj.InsertLine(allowEmail, choice, insrtstring, fnemail); =>function which actually inserts the string inside the message.
Appreciate any help.
Thanks,
Tewari