Hi.....
I want that send email automatic every 3 days with template.
how can use HTML Template editable. what is control in asp.net which display HTML Template in page.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anuja PawarPosted Nov 29, 2011, 6:39 AM
http://www.waytocoding.com/2011/02/how-to-send-email-with-prepared.html
krishna swamiPosted Nov 29, 2011, 6:29 AM
Anuja PawarPosted Nov 29, 2011, 6:26 AM
MailDefinition md = new MailDefinition();
md.From = "[email protected]";
md.IsBodyHtml = true;
md.Subject = "Test of MailDefinition";
ListDictionary Dics = new ListDictionary();
Dics.Add("<%Name%>", "Test Name"); Dics.Add("<%Country%>", "India");
string body = " Hello <%Name%> You're from <%Country%>.
"; MailMessage msg = md.CreateMailMessage
("[email protected]", replacements, body, new System.Web.UI.Control());