Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > System.Web.Mail and Pickup Directory

Thread Tools

System.Web.Mail and Pickup Directory

Posts: 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 = "(E-Mail Removed)"
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
Reply With Quote
Kevin Yu [MSFT]
Posts: 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

Reply With Quote
Steven Cheng[MSFT]
Posts: 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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing into the Pickup directory carmelo ASP .Net 2 07-11-2008 11:25 AM
Cannot get IIS pickup directory =?Utf-8?B?TWlrZQ==?= ASP .Net 1 08-27-2007 08:23 AM
RE: Sending multiple e-mails. Pickup Directory? Steven Cheng[MSFT] ASP .Net 6 12-10-2004 09:07 PM
CDO Error: "The pickup directory path is required and was not specified" Alan Howard ASP General 2 07-05-2004 12:03 AM
pickup variables in URL in simple HTML page and use them in VBscript (ex test.htm?myvar=value) Phil Di Guillielmo HTML 6 08-27-2003 06:41 PM