Solved

C# email in HTTML mobile

Posted on 2013-05-29
1
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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 the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

635 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