tags:

views:

30

answers:

2

Hello, My web application sends mail to its users. Everything is working fine, but my html doesn't get rendered in yahoo.

If i send mail contents as :-

<div>
Hello user
<br/>
How are you?
</div>

It gets rendered as it is :(. The html is not interpreted by yahoo. How do i solve this problem? Thanks in advance :)

+4  A: 

I think you need to set the mime type of the message to text/html. What is your email sending code?

Strelok
oops! Thanks i had "text/plain". Changed it. Now it's working fine
Ankit Rathod
+2  A: 

Have you made sure you send the message with content type text/html? I usually send messages as multipart messages with one HTML version and one plain text version in order to make sure everybody can read my emails.

Daniel Abrahamsson