Top "Mailmessage" questions

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

Send Email to multiple Recipients with MailMessage?

I have multiple email recipients stored in SQL Server. When I click send in the webpage it should send email …

c# mailmessage
How to save MailMessage object to disk as *.eml or *.msg file

How do I save MailMessage object to the disk? The MailMessage object does not expose any Save() methods. I dont …

c# .net email mailmessage eml
Resolving 'The specified string is not in the form required for a subject.'

I have a class that sends an Email (MailMessage) but I get the following error: "The specified string is not …

c# asp.net mailmessage
Multiple address in MailAddress constructor

i was trying to add multiple to address like this. MailAddress mailAddressTo = new MailAddress("[email protected];[email protected]","…

c# .net system.net.mail mailmessage
MailMessage sent string as body without newline in outlook

HI, I am trying to send a simple notification using system.net.mail.mailmessage. I just pass the string as …

c# mailmessage
save System.Net.mail.MailMessage as .msg file

I am building an application where i am obligated to create a MailMessage (System.Net.mail.MailMessage) and save it …

c# .net email mailmessage msg
MailMessage c# - How to make it HTML and add images etc?

string to = "[email protected]"; string body = "Test"; SmtpClient SMTPServer = new SmtpClient("127.0.0.1"); MailMessage mailObj = new MailMessage(urEmail, to, subject, …

c# asp.net html mailmessage
C# SMTP email sending code fails for Yahoo Mail but works fine for other servers, can anyone help?

I am using this code to send an SMTP email via the yahoo SMTP server, it is for a personal …

c# smtp yahoo smtpclient mailmessage
The specified string is not in the form required for an e-mail address. when sending an email

Trying to send email to multiple recipient using below code gives me this error: The specified string is not in …

c# asp.net smtp html-email mailmessage
Set "From" address when using System.Net.Mail.MailMessage?

I'm trying to send a password reset email, but I'm having trouble figuring out how to specify the sender's address. …

c# asp.net-mvc email system mailmessage