c# sending html email template include css not working - c#

i trying to send html email template, it works perfect, but when i put css internal styles it gives error : input string was not in correct format,
my html template that works good:
<h3>data</h3>
<hr />
<table class="table table-striped table-bordered table-advance table-hover">
<tr>
<td>data </td>
<td>{0}</td>
</tr>
<tr>
<td>data </td>
<td>{1}</td>
</tr>
<tr>
<td>data</td>
<td>{2}</td>
</tr>
<tr>
<td>data</td>
<td>{3}</td>
</tr>
<tr>
<td>data</td>
<td>{4}</td>
</tr>
<tr>
<td>data</td>
<td>{5}</td>
</tr>
<tr>
<td>data</td>
<td>{6}</td>
</tr>
</table>
my html template that gives Input string was not in a correct format error :
<h3>data</h3>
<hr />
<table class="table table-striped table-bordered table-advance table-hover">
<tr>
<td>data </td>
<td>{0}</td>
</tr>
<tr>
<td>data </td>
<td>{1}</td>
</tr>
<tr>
<td>data</td>
<td>{2}</td>
</tr>
<tr>
<td>data</td>
<td>{3}</td>
</tr>
<tr>
<td>data</td>
<td>{4}</td>
</tr>
<tr>
<td>data</td>
<td>{5}</td>
</tr>
<tr>
<td>data</td>
<td>{6}</td>
</tr>
</table>
<style type="text/css">
table td{border:solid 1px;}
</style>
my c# code that read and send:
C_GeneralSettings settings = db.C_GeneralSettings.SingleOrDefault();
S_ResidencesReservations item = db.S_ResidencesReservations.SingleOrDefault(x => x.ReserveId == entity.ReserveId);
string subject = "data";
string message = System.IO.File.ReadAllText(Server.MapPath("~/EmailTemplates/ReservationDetails.html"));
message = string.Format(message, entity.ReserveId, entity.IsApproved ? "yes" : "no", entity.PayementPeriodEndDate, entity.ReservationDate.ToString("MM/dd/yyyy"), entity.Name, entity.Email, entity.CellPhone);
HelperMethods.SendEmail(message, entity.Email, subject, settings);
and my send mail method:
public static void SendEmail(string messageContent, string toEmail, string subject, C_GeneralSettings emailEntity)
{
//Check if email service is allowed
bool allowEmailService = emailEntity.AllowEmailService;
if (!allowEmailService)
return;
//Construct mail message
string from = emailEntity.Email;
string displayName = emailEntity.DisplayName;
string to = toEmail;
MailMessage message = new MailMessage();
message.From = new MailAddress(from, displayName);
message.To.Add(new MailAddress(to));
message.Subject = subject;
message.IsBodyHtml = true;
message.Body = messageContent;
//Get mail settings from config file
string host = emailEntity.Host;
string username = emailEntity.Email;
string password = emailEntity.Password;
int port = emailEntity.Port;
bool enableSsl = emailEntity.EnableSSL;
//Send the message
SmtpClient smtp = new SmtpClient();
smtp.Host = host;
smtp.Port = port;
smtp.Credentials = new System.Net.NetworkCredential(username, password);
smtp.EnableSsl = enableSsl;
smtp.Send(message);
}

The error occurs when i use internal CSS, because i used string.format to bind data,
Internal CSS using curly brackets, so it causes such like this errors,
so if you need to use internal CSS with dynamic html email templates, you can use string.replace, for example
you html template will be like :
<h3>data</h3>
<hr />
<table class="table table-striped table-bordered table-advance table-hover">
<tr>
<td>data </td>
<td>#name#</td>
</tr>
</table>
<style type="text/css">
table td{border:solid 1px;}
</style>
and to bind it in c#
string message = System.IO.File.ReadAllText(Server.MapPath("~/EmailTemplates/Template.html"));
message = message.Replace("#name#", name);

That should not be a case by using
<style type="text/css">
table td{border:solid 1px;}
</style>
that is another thing that it will not apply any borders if you view in gmail but in outlook you can view the borders.
But you can give a try by using.
message.BodyEncoding = System.Text.Encoding.UTF8
If that does not work you may have some inputs which are not converting correctly.

There are a solution that to put css in inline way, but its tired way,
example :
<table dir="rtl" width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td style=""><img style="display:block; width:150px; margin-bottom:10px;" src="http://www.mitghamronline.com/up/uploads/14739221.png" alt=""></td>
</tr>
</table>
this way is working good and not gives me the previous error, but if someone know a way to write css in internal way, it will be better than this

Related

AutoIncrement Column HTML doesnt show after sending Mail

I have to send a Table that have a column with autoincrement number and when I sent the mail it shows the second column values but none the auto increment numbers:
This is my html script generated by c# code:
<style>
.tableOrder {
counter-reset: rowNumber;
border-collapse: collapse;
text-align: center;
}
.tableOrder tr .counterColumn {
counter-increment: rowNumber;
}
.tableOrder tr .counterColumn:first-child::before {
content: counter(rowNumber);
min-width: 1em;
margin-right: 0.5em;
}
</style>
</table>
<font> This is the following order of Pickups Arrives </font> <br><br>
<table class="tableOrder" border="1">
<tr style="background-color:#6FA1D2;color:#ffffff;">
<td style="color:#555555;">Order Arrive</td>
<td style="color:#555555;">Pickup Number</td>
</tr>
<tr>
<td class="counterColumn"></td>
<td>1</td>
</tr>
<tr>
<td class="counterColumn"></td>
<td>1233</td>
</tr>
<tr>
<td class="counterColumn"></td>
<td>521346</td>
</tr>
<tr>
<td class="counterColumn"></td>
<td>1246</td>
</tr>
<tr>
<td class="counterColumn"></td>
<td>7594</td>
</tr>
</table>
and when I run my code and sent the email it didn't show the autoincrement values column
I'm using the SmtpClient in C#
MailMessage message = new MailMessage()
{
From = fromEmail,
Subject = "Subject",
IsBodyHtml = true,
Body = htmlString,
};
message.To.Add(toEmail);
message.CC.Add(ccEmail);

Send email from contact form

I have been trying to make a contact form so it sends an email to me but I cannot get an email to send. Can anyone see if there is something I have done wrong? Any help would be greatly appreciated! I have removed my email and password for security reasons I have not just left them blank. I cannot think off what I have missed.
This is my controller code
[HttpPost]
public ActionResult Index(string Name, string EmailId, string phoneNo, string subject, string Message)
{
try
{
MailMessage mail = new MailMessage();
mail.To.Add(EmailId);
mail.From = new MailAddress("joeyoe395#gmail.com");
mail.Subject = subject;
string userMessage = "";
userMessage = "<br/>Name :" + Name;
userMessage = userMessage + "<br/>Email Id: " + EmailId;
userMessage = userMessage + "<br/>Phone No: " + phoneNo;
userMessage = userMessage + "<br/>Message: " + Message;
string Body = "Hi, <br/><br/> A new enquiry by user. Detail is as follows:<br/><br/> " + userMessage + "<br/><br/>Thanks";
mail.Body = Body;
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient();
smtp.Host = "smtp.gmail.com";
smtp.Port = 587;
smtp.Credentials = new System.Net.NetworkCredential("Email", "Password");
smtp.EnableSsl = true;
smtp.Send(mail);
ViewBag.Message = "Thank you for contacting us!";
}
catch
{
ViewBag.Message = "Error......";
}
return View();
}
This is my view code
#{
ViewBag.Title = "Contact Us Form in MVC5 & MVC6 C#";
}
#using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
<table width="100%" border="1">
<tr>
<td align="right" colspan="2" style="text-align: center"><strong>SEND EMAIL USING GMAIL ACCOUNT IN MVC</strong></td>
</tr>
<tr>
<td align="right"> </td>
<td align="left">
#ViewBag.Message
</td>
</tr>
<tr>
<td align="right">Name :</td>
<td align="left">
<input id="txtName" name="Name" />
</td>
</tr>
<tr>
<td align="right">Your Email id :</td>
<td align="left">
<input id="txttoaddress" name="EmailId" />
</td>
</tr>
<tr>
<td align="right">Phone No :</td>
<td align="left">
<input id="txtPhoneno" name="PhoneNo" />
</td>
</tr>
<tr>
<td align="right">Subject :</td>
<td align="left">
<input id="txtsubject" name="Subject" />
</td>
</tr>
<tr>
<td align="right">Message :</td>
<td align="left">
<textarea rows="4" cols="50" name="Message" id="txtmessage"></textarea>
</td>
</tr>
<tr>
<td align="right">Attachment :</td>
<td align="left">
<input type="file" name="file" />
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" text="Send Message" />
</td>
</tr>
</table>
}
The error might occur due to following cases.
case 1: when the password is wrong
case 2: when you try to login from some App
case 3: when you try to login from the domain other than your time zone/domain/computer (This is the case in most of scenarios when sending mail from code)
If you think that your credentials are correct, then please go the following link https://myaccount.google.com/lesssecureapps and enable secure less apps. So that you'll be able to login from other apps.

SMTP mail not displaying the image

I am new to web api ,Here I am sending mail using SMTP service .
In this I need to send images I mean I need to display the image along with the mail contents.
But in my case contents are properly displaying but the image is not .
The data of image URL is : http://192.168.168.62:8087/Images/Product/My_Cart/axe_brand_1.jpg
When I inspect the image in the mail box it shows as follows:
<img data-imagetype="External" src="/actions/ei?u=http%3A%2F%2F192.168.168.62%3A8087%2FImages%2FProduct%2FMy_Cart%2Faxe_brand_1.jpg&d=2019-01-02T05%3A52%3A02.212Z" originalsrc="http://192.168.168.62:8087/Images/Product/My_Cart/axe_brand_1.jpg" data-connectorsauthtoken="1" data-imageproxyendpoint="/actions/ei" data-imageproxyid="">
I have tried many ways to solve this I can't .Can anyone help me to solve this .
Update :
c#:
foreach (DataRow Row in dt.Tables[0].Rows)
{
LinkedResource res = new LinkedResource(Row["ITEM_IMAGE"].ToString());
res.ContentId = Guid.NewGuid().ToString();
string htmlBody = #"<img src='cid:" + res.ContentId + #"'/>";
tableRows.AppendFormat(mailBodyTemplate, htmlBody, Row["ITEM_NAME"], Row["ITEM_UOM"], Row["QUANTITY"], Row["ITEM_PRICE_WITH_GST"], Row["TOTAL_AMOUNT_WITH_GST"]);
}
var mailBody = string.Format(PurchaseSummary, tableRows.ToString(), totalPrice);
Template :
<tr>
<td align="center"><img src="{0}" /></td>
<td>
<table style="width:100%;margin-left:15px">
<tr>
<td align="right" style="width:50%">Product Name :</td>
<td align="left" style="color:#32CD32;font-weight:bold;width:50%">{1}</td>
</tr>
<tr>
<td align="right" style="width:50%">Product UOM :</td>
<td align="left" style="color:#696969;font-weight:bold;width:50%">{2}</td>
</tr>
<tr>
<td align="right" style="width:50%">Quantity :</td>
<td align="left" style="color:#778899;font-weight:bold;width:50%">{3}</td>
</tr>
<tr>
<td align="right" style="width:50%">Unit Price :</td>
<td align="left" style="color:#483D8B;font-weight:bold;width:50%">{4}
<td>
</tr>
</table>
</td>
<td align="center" style="font-size:20px;font-weight:bold;color:#1E90FF">{5}</td>
</tr>
still it's not displaying the image .
While inspecting the image I got as follows..
<img data-imagetype="External" src="/actions/ei?u=http%3A%2F%2F192.168.168.62%3A8087%2FImages%2FProduct%2FMy_Cart%2Faxe_brand_1.jpg&d=2019-01-02T09%3A41%3A12.195Z" originalsrc="http://192.168.168.62:8087/Images/Product/My_Cart/axe_brand_1.jpg" data-connectorsauthtoken="1" data-imageproxyendpoint="/actions/ei" data-imageproxyid="">

Trying to Send Email via SMTP - Sample Message Keeps Appearing

I'm trying to send an email using SMTP.
I have an HTML form on a page that runs a server-side script (code for both below). The two Selects get their choices from a SharePoint list. I don't believe the code is relevant as that's all it does, but I can edit and paste in if need be.
Every time I hit submit on the form, all I get is a new email appearing on my screen with "Sample" in the body and no other fields populated. Any ideas why this is?
I am aware I'm not seeing values from the form, that's not the issue. The issue is that I'm specifying To, From, Subject and Body in the C# method and not seeing those in the email.
HTML Form
<div>
<table class="frm">
<th colspan="2" style="background-color: #e6e6e6; font-size: 2em">
<b>Helpdesk Ticket Form</b>
</th>
<tr>
<td>
<b>Subject</b>
</td>
<td>
<input type="text" id="subject" style="width: 96%;"></input>
</td>
</tr>
<tr>
<td>
<b>Urgency</b>
</td>
<td>
<select id="urgency" style="width: 100%;"></select>
</td>
</tr>
<tr>
<td>
<b>Impact</b>
</td>
<td>
<select id="impact" style="width: 100%;"></select>
</td>
</tr>
<tr>
<td>
<b>Description</b>
</td>
<td>
<textarea id="description" cols="40" rows="5"></textarea>
</td>
</tr>
<tr>
<td colspan="2">
<button id="A1" runat="server" onclick="SendEmail();">Submit</button>
</td>
</tr>
</table>
</div>
C# Method
public void SendEmail()
{
try
{
SmtpClient client = new SmtpClient("mysmtpclient");
client.UseDefaultCredentials = true;
MailAddress from = new MailAddress("MyEmail#email.com");
MailAddress to = new MailAddress("TheirEmail#email.com");
MailMessage message = new MailMessage(from, to);
message.Subject = "Test";
message.Body = "<b>Test message!</b>";
message.IsBodyHtml = true;
client.Send(message);
}
catch (Exception ex)
{
//it done broked
}
}

How to create html template and how to send them through email without attachment

currently am working in asp.net c#..one of my client wants to send html template through email donot as attachment ..so i created attachment like this
please refer the html code
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>saloc</title>
</head>
<body>
<div>
<table style='width:90%; border:3px solid #C0C0C0;'>
<tbody align:'center';>
<tr>
<td align:'center'>
<table style='width:100%;padding:0;'>
<tbody>
<tr>
<td align:'left'>
<table style='width:100%;padding:0;'>
<tbody>
<tr>
<td align:'left'>
<table style='width: 100%;border:0;padding:0';>
<tbody>
<td align:'left' valign='top' style= 'width:15%';><img src='data:image/jpeg;base64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2aAInNr7gwLsE93ARIMJ70BaHfaXVXpM9MsXdKwFYEOHkLSLAXCF9YklAq4IWZUxjmuEpoEirBtdjDx8R/Egz7BHDACLAF4zesygw7yAsSFZm3Us/pxJLlIjwIAMeaA5SI+edomJGWCsKvI6WE2xMBUZQrZ/+jEOwkL16nRKgrXiAFucOO8PuBcTJ+3GE1BUti8gK/udqhQ2zeAR9YNSZssAVnaye8PNpAvWJ5C6dyrbxGmbY3ykEIQfnEfpDQG1yIy8EzuiZAyaLigJdhxgEsm1L+ZOjx5Upt6Y5xN7gSMZxcMwj7mHtcxA9UCoCjYtYpZRyA0hACD+ASAyTkMFgn/k6DJlrAURA2+G9QVDgLF3pF1yB9II/3Yy8IIlE2QIPnp7f/ciyUjXTNQyRGBLyLofnqy5AfP9UroNMrbkRgWYc8HHKJYRbOmb2pMB2weKx74mKBDxAMRoqNBodEGCGYkhSuRTzHr+3jHqPKQRfP10LGDCz2U6gGpIhAYWZo8LAhYKeIAOczG0IufykybOFUDCrqZGgyQoEdcIsLhf6AQz4AfVLqV1SRWUMziuPDAfzEp+ADFyk2g0/jNkVDIHEOvlE5WuELlf3iY4hzVKMcisWTAC/aFcThBftNmdMjZgYnoTnUmSbwD4cN7pAteSW2d9grzhHhJZjBJjOD3dzlQcJPhXPBJ76xT5yP6uAE4O/4TkJBPJoKy0xKAA+2opyapus5rSrRib8gcWCIvupC9P8AjKTIqgXffnwAAAAASUVORK5CYII=' style='margin-left: 0px;'/>
</td>
</tr>
<tr>
<td> <div style='border-bottom:5px solid #808080;'></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style='width:100%;padding:5px;word-spacing:0'>
<tbody><tr>
<td align:'left'>
<table style='width:100%;height:10px;'valign:'top''>
<tbody>
<tr>
<td align:'left'><div style='display:none;'></div>
<h2>ihigjkj</h2>
<div style='display: block;top: -105px;'></div>
<table style='width:100%; height: 178px;'>
<tbody><tr>
<td align:'left'>
<table style='width:100%;' border='0'>
<tbody>
<tr>
<td align:'left' valign:'top' style='width: 15%;'>
</td>
<!--<td align:'left' style='width: 5%;' valign:'top'>
</td>-->
<td align:'left' style='width: 80%;color:#303338;text-align:justify;word-wrap: break-word;' valign:'top'>
<p>jkgnbkvnkvb</p>
<!--<a href='http://www.ymlp.com/'>This is a link to some related web page...</a><a href='http://www.ymlp.com/'></a>-->
</td>
</tr>
<tr>
<td><hr /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody></table>
<!--<table style='width:100%'>
<tbody>
<tr>
<td align:'left'>
</td>
</tr>
</tbody></table>-->
<table width:'100%'>
<tbody><tr>
<td align:'left'>
<div>
<h2>kvnmvbmbvm</h2>
</div>
</td>
</tr>
</tbody></table>
<table width:'100%'>
<tbody><tr>
<td align:'left'>
<table style='width: 100%;' border='0'>
<tbody><tr>
<td align:'left' style='width:80%;text-align:justify;word-wrap:break-word;color:#303338'; valign='top';>
<p>jgknkbnvnbvm,nb,mbv</p><br>
<!-- <a href='http://www.ymlp.com/'>This is a link to some related web page...</a><a href='http://www.ymlp.com/'></a>-->
</td>
<!--<td align:'left' style='width: 5%;' valign:'top'>
</td>-->
<td align:'left' style='width:15%;' valign:'top'>
<a href='http://www.saloc.in'> </td>
</tr>
<tr>
<td><hr /></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table style='padding:0px;width:100%';'>
<tbody><tr>
<td align:'left'><h3>nngnbvmn,</h3>
</td>
</tr>
</tbody></table>
<table style='width:100%';>
<tbody><tr>
<td align:'left'>
<div style='text-align:justify;word-wrap:break-word;color:#303338';'>
<p>jgknkbnvnbvm,nb,mbv</p>
<br /> </div>
<div style='color:#003E61';'font-size:15px;font-family:'Times New Roman';> <hr/>
<span style='color:#CA3B2A'><b>SALOC Technologies PVT Ltd,</b></style></span><br/>
<b>#274/14,New Guddadahali Mysore Road,Bengaluru-560026,INDIA</b><br/>
<b> Voice:+91 80 2675 5000,Fax:+90 80 2674 7000</b><br />
<a href='mailto:shivananda#saloc.in'>shivananda#saloc.in</a>
</div>
<div>
</div>
<div style='color:green;text-align:center;border-top:dotted thin #C0C0C0;font-size:18px'>
<br />
<b><i>Business for mutual benefits</i></b><br />
<!--style='border-top:dotted thin #C0C0C0;'-->To Unsubscribe Click here<a href='mailto:shivananda#saloc.in'>:shivananda#saloc.in</a>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--<table width:'100%' cellpadding='4' cellspacing='0'>
<tbody><tr>
<td align:'left' >
<div style='font-size: 8px;'>
</div>
</td>
</tr>
</tbody></table>-->
</td>
</tr>
</tbody></table>
<!--<table style='width:600px' border='0' height:'30px'>
<tbody><tr>
<td align:'left'>
<div style='font-size: 8px;'>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>-->
</table>
</div>
</body>
</html>
it looks very big but here one thing u make sure am storing image in byte array ..until now am not facing any problem .the created html template above is looking good if u want to see please paste in notepad as html then open it browser then u come to know ..fine actually when i send this template as attachment in gmail,after send email i get only text content as dis located manner mean not as original style but content not styles all are showing without style ....and one more criteria is our clients wants to see the html template directly on mail body not as attachment..please let me know how do i solve these problems i wish i'll get perfect solution about this because i trust stack overflow ...please help your help would be greatly appreciated
I suggested you to upload the image to web server and change the image path in the html file something like http://domainname.com/imageName.jpg.
Code
StreamReader reader = new StreamReader(Server.MapPath("~/emailer.html"));
string readFile = reader.ReadToEnd();
string myString = "";
myString = readFile;
string mailServer, mailFrom;
int port;
string mailId, mailPass;
string subject;
string mailTo;
try
{
subject = "Subject";
mailTo = "receipient#gmail.com";
mailServer = "smtp.gmail.com";
mailFrom = "Mail From Text";
mailId = "sender#gmail.com";
mailPass = "xxxxxx";
port = 587;
MailMessage mail = new MailMessage(mailId, mailTo, subject, myString.ToString());
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient(mailServer, port);
System.Net.NetworkCredential nc = new System.Net.NetworkCredential(mailId, mailPass);
smtp.UseDefaultCredentials = false;
smtp.Credentials = nc;
smtp.EnableSsl = true;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Send(mail);
ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmessage", "javascript:alert('Submitted successfully')", true);
}
catch(Exception ex){ }
Change subject, mailTo,mailFrom, mailId, Password as per yours.

Categories