G
Guest
Hi,
I am not too sure how to send email with System.Web.Mail using Pickup
directory.
The following is what I have
====================================================
eMail = new MailMessage()
eMail.BodyFormat = MailFormat.Text
eMail.To = "(e-mail address removed)"
eMail.From = _SendFrom
eMail.Body = _Body
eMail.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") =
"1
eMail.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory")= "C:\Inetpub\mailroot\Pickup"
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(eMail)
===================================================
Also, do I have to specify SmtpMail.SmtpServer if I am only using the pickup
directory?
I am not too sure how to send email with System.Web.Mail using Pickup
directory.
The following is what I have
====================================================
eMail = new MailMessage()
eMail.BodyFormat = MailFormat.Text
eMail.To = "(e-mail address removed)"
eMail.From = _SendFrom
eMail.Body = _Body
eMail.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") =
"1
eMail.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory")= "C:\Inetpub\mailroot\Pickup"
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(eMail)
===================================================
Also, do I have to specify SmtpMail.SmtpServer if I am only using the pickup
directory?