system.web.mail

System.Net.Mail.MailMessage Fields Dictionary

Hi, We’re currently in the process of updating the email dispatch part of our application to replace the deprecated set of classes under System.Web.Mail with the System.Net.Mail classes. The changes have been fairly straightforward but we’ve hit an obstacle today in that we were trying to port the contents of the System.Web.Mail.Mail...

Porting System.Web.Mail functionality to System.Net.Mail

The following function works perfectly: protected void SendWebMailMessage(string DisplayName, string From, string ReplyTo, string To, string Subject, string Body, string Attachments) { System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage(); msg.Fields.Add("http://schemas.microsoft.com/cdo/con...

Send mail to multiple recipients with attachment ASP.NET

I am building a simple e-mail application to send emails to a list of people with an attachment. To be able to add an attachment (from what I have found out) I need to use System.Web.Mail. Is there any limit to how many email addresses I can send to at once? ...

Are SMTP relay requirements for System.Net.Mail different than System.Web.Mail

I deployed my web app to our production IIS 6.0 server and everything is working except when my code attempts to send email to an address that is NOT in the domain of our email server. I've seen various symptoms but this seems the most straightforward to describe: Syntax error in parameters or arguments. The server response was: 5.7.1 T...