By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

System.Web.Mail and Pickup Directory

P: n/a

I am not too sure how to send email with System.Web.Mail using Pickup
The following is what I have

================================================== ==
eMail = new MailMessage()
eMail.BodyFormat = MailFormat.Text
eMail.To = "re********"
eMail.From = _SendFrom
eMail.Body = _Body
eMail.Fields("") =
eMail.Fields("")= "C:\Inetpub\mailroot\Pickup"

SmtpMail.SmtpServer = "localhost"
================================================== =

Also, do I have to specify SmtpMail.SmtpServer if I am only using the pickup
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
"This posting is provided "AS IS" with no warranties, and confers no

Nov 19 '05 #2

P: n/a

I think your code is right, If we directly using the pickup directory to
send email via System.Web.Mail ( or CDO component), only the sending method
and pickup directory path is required, we don't need to specify the
smtpSErver. Here is a certain kb article mentioned how to use pickup
directory to send mail via CDO.
But since the .net's System.Web.Mail is underlying using CDO, it'll be the
same for system.web.mail

#How To Send HTML Formatted Mail Using CDO for Windows 2000 and the Local
Pickup Directory;en-us;286430

Hope also helps. Thanks.


Steven Cheng
Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.