yahoo disable links when sent from smtpclient .net -



yahoo disable links when sent from smtpclient .net -

i'm building web application sends emails throw smtpclient in .net application working fine, emails sent gmail accounts , hotmail accounts, when sent emails yahoo business relationship delivered successfully, links set in message disabled yahoo. yahoo somehow rewrites links , totally remove "href" property, dunno do, i've tried every format know no good. here code utilize send messages.

objemail = new system.net.mail.mailmessage(); objemail.to.add(new mailaddress(contact.value.tostring(),null)); objemail.from = new mailaddress(from, null); objemail.subject = subject; objemail.body = body; objemail.isbodyhtml = true; smtpclient client = new smtpclient(); client.send(objemail);

and here definition of smtpclient in web.config file

<system.net> <mailsettings> <smtp deliverymethod="network"> <network enablessl="true" host="smtp.gmail.com" password="password" username="user@gmail.com" port="587"/> </smtp> </mailsettings> </system.net>

in message body set simple link that,

<a href="http://www.postagi.com/homepage.aspx?id=101">tester</a>

here yahoo show in there email inbox.

<a id="yui_3_2_0_1_1327400481004292" rel="nofollow">tester</a>

this error drives me crazy, please help.

i solved it... seems must write finish link 'http://' dunno why yahoo needs format. working fine gmail , hotmail, in end i'm glad able solve

.net yahoo smtpclient

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -