Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3487504
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:09:25+00:00 2026-05-18T11:09:25+00:00

i have used System.Web.Mail.MailMessage to send HTML Formatted message to an email id. The

  • 0

i have used System.Web.Mail.MailMessage to send HTML Formatted message to an email id.

The email id is on gmail.com so mail has been received fine but Content has not been shown.

However if i see the mail in original shape it has the whole content the divs, images and all the stuff. but inbox don’t show a single thing.

can any one explain the original problem?

    <html><!DOCTYPE html PUBLIC " -//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<script type="text/javascript" language="javascript">
function PlayVid(Id, src) 
{
var val = VidPlayerShow(src); 
document.getElementById(Id).innerHTML = val; 
return false;
}
function VidPlayerShow(varID) 
{
var source = varID; 
var findex = 25; 
var lindex = source.indexOf('/', 26); 
var newSource = source.substring(26, lindex);
var newTag = '<embed src=http://www.youtube.com/v/' + newSource + '&autoplay=1 type=application/x-shockwave-flash width=500 height=400 allowFullScreen=true wmode=transparent></embed>';
return newTag;
}</script></head>
<body>New Hype Shared<br>
<table>
<tr><td align=left><a class='ContentLink' href=Contents.aspx?CID=N?FFMKMLFG6M>Joke</a><span style=font-size: 11px> by: </span><span>Chamman</span></td></tr><tr><td style=width: 500px; min-width: 500px><div>
<div id=div186> 
<img src=http://img.youtube.com/vi/xMfBRStbRvQ/default.jpg onclick='return PlayVid(parentNode.id,this.src)' /></div>
</div></td></tr>
<tr><td>
<table class=style1>
<tr>
<td id='td186' align=left width=50px><a id='btn186' onclick='return ShowhideShare(this.id,parentNode.id)' class='lnkbLike' style='color: #034af3; font-size: 10px' href=''>Share</a></td>
<td align=left width=200px><a id='lnkbLike186' onclick='return LikeIt(this.id)' href='#' style='font-size:9px'>Like it </a><span style='font-size:9px'> (0 people liked it)</span></td>
<td align=left width=200px><a id='lnkbSpam186' class='lnkbLike' onclick='return SpamIt(this.id)' href=''>This is Spam!</a></td><td></td></tr></table></td>
</tr>
<tr><td>
<div id='divCmntMain186'><table width=330px style='margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;background-color: #F5F5F5; border: solid 1pt lightGray'><tr class='AccordianUp'><td>Comments</td>
<td align=right style=font-size:9px><a id='lnkComment186' class='lnkbLike' onclick='return NewComment(this.id)' href=''>New Comment</a></td></tr>
</table></div></td></tr>
<tr><td></td></tr></table> <br> by Chamman <a href=http://www.hyprate.com/Contents.aspx?CID=N?FFMKMLFG6M> Click Here to Follow </a> Regards, <br> The Hyprate Team</body></html></html>

This is basically the HTML which i am sending to the email address

Sorry for the Rough HTML! it is auto generated so i cant do anything!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:09:26+00:00Added an answer on May 18, 2026 at 11:09 am

    If you post your raw message (using Gmail, click “show original”) then that would be helpful. However, chances are you are using HTML that is getting eaten alive by the mail client.

    Don’t use DIVs. You can use images, but it is up to the client to decide to display them or not.

    This table of compatible CSS features may also help you:
    http://www.campaignmonitor.com/css/

    Edit: I see you have posted your source code. Javascript… that most definitely will not execute.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using mail message class to send an email. But if i check
In MVC2 I have used Page.User.Identity.Name using the <%@ Control Language=C# Inherits=System.Web.Mvc.ViewUserControl %> How
Most of my programming has been in web-based applications, although I have done some
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
We have InstallShield 2009 Premier installed on one system on which it is used
We are an organisation who have purchased a system which is used by doctors
I have used Photoshop CS2's Save for Web feature to create a table of
I have used this in my HTML: <q> Hai How r u </q> Which
I have the following asp.net mvc2 template: <%@ Control Language=C# Inherits=System.Web.Mvc.ViewUserControl<ncontinuity2.core.dto.TrainingLookUpContainer> %> <%= Html.EditorFor(x
I have an asp.net 4.0 web site that generates email alerts based on several

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.