Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

C# email in HTTML mobile

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
R8VI
Asked:
R8VI
1 Solution
 
sarabhaiCommented:
make the width 100% , so accordingly it will adjust as i am guessing.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now