Solved

C# email in HTTML mobile

Posted on 2013-05-29
1
194 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now