Top "Mailmessage" questions

The MailMessage class can be considered the foundation class of the System.

HTML email not displaying correctly

i have a strange problem with sending HTML mail in c#. Basically i am trying to email myself the weather …

c# html css markup mailmessage
How to Properly Add CSS in a MailMessage

I'm writing some HTML to a MailMessage.Body and would like to include some CSS to format fonts, tables, etc. …

c# css .net email mailmessage
Cancel outlook meeting requests via MailMessage in C#

I'm creating an application using the ASP.NET MVC 1 framework in C#, where I have users that register for events. …

c# outlook mailmessage alternateview
Is it possible to capture the "Message-ID" of an email message sent with SmtpClient?

Using the SmtpClient and MailMessage classes in .NET to send emails through a local mail server (hMailServer), I currently found …

c# .net smtp mailmessage hmail-server
How do I send an email from a Windows Phone 8 application?

In a Windows Forms project, I used the SmtpClient and MailMessage class in order to send information by email. Is …

c# windows-phone-8 smtpclient mailmessage
c# MailMessage custom headers - using System.Net.Mail;

Here is my method for testing MailMessage headers : private void Send_Email(string smtp_server, int port, string display_name, …

c# winforms .net-3.5 mailmessage
Why does the MailDefinition class require a System.Web.UI.Control?

When creating a MailMessage object by calling the "CreateMailMessage" method on the MailDefinition class, the third parameter is an object …

c# asp.net mailmessage
Elegant way to serialize a MailMessage object in .NET

I'm currently looking at serializing a MailMessage object in C# and although there are a couple of variations of an …

c# serialization mailmessage rfc822 rfc2822
System.Net.Mail and MailMessage not Sending Messages Immediately

When I sent a mail using System.Net.Mail, it seems that the messages do not send immediately. They take …

c# smtp smtpclient system.net.mail mailmessage
MailMessage Attachment filename with accents

I'm trying to send HTML e-mails with attached Excel filenames. It all worked well until I neded to send messages …

c# .net email mailmessage