views:

48

answers:

2

I am sending email from my asp.net application to users in gmail account, css not appliying in email format. However it is coming properly when i send same email in outlook. I have also tried by applying css in head tag but still it resulted the same.

Please provide suitable way to make my mail format look good when i see it in gmail account.

Thanks.

A: 

Are you specifying the message.IsBodyHtml = true ?

Jack Marchetti
yes it is specified..... all other things are getting only css is not coming in gmail
Amit Rajani
Jack Marchetti
hey thanks for information..... hope you may find some solution for this issue....
Amit Rajani
+1  A: 

You should specify css stylesheet inside the mailbody or apply inline style

Himadri
i tried by specifying stylesheet inside the mailbody as well.. but then also there is still some issue....
Amit Rajani
can u post the exact issues u r getting?
Himadri