Solved

C# email in HTTML mobile

Posted on 2013-05-29
1
200 Views
Last Modified: 2013-06-02
Hi,

I have the below code which sends an email fine and display fine on a desktop but when i view the email on my mobile it doesnt display as required what can i do

body += "<table width=\"600\" align=\"center\"><tr><td align=\"left\"><span style=\"font-size:16px\"><span style=\"font-family:Arial\">Hello,</span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\">Please find below your Weekly Stats .</span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"> <span style=\"strong\"> Total Approved: <span style=\"color:Green\"> <span style=\"font-size:16px\">" + sApproved + "</span></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"><span style=\"strong\"> Total Not Approved: <span style=\"color:#000080\"> <span style=\"font-size:16px\">" + sNotApproved + "</span></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"> <span style=\"strong\"> Total Bad Reviews: <span style=\"color:Red\"> <span style=\"font-size:16px\">" + sDoes_Not_Want_To_Approve + "</span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:16px\"><span style=\"font-family:Arial\"> <a href=\"http:">Click here to log on and Approve Reviews </a></span></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td><span style=\"font-size:10px\"><span style=\"font-family:Arial\"> The information herein is proprietary. </span></td></tr></table>";

please help

Thanks

R8VI
0
Comment
Question by:R8VI
1 Comment
 
LVL 9

Accepted Solution

by:
sarabhai earned 500 total points
ID: 39204225
make the width 100% , so accordingly it will adjust as i am guessing.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question