473,378 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

CDO Error: "The pickup directory path is required and was not specified"

Hi there,

I can't seem to find any info on this error message that's generated when
sending email with CDO:

"The pickup directory path is required and was not specified"

Does anyone know whether the cdoSMTPServerPickupDirectory field of the
Message object defaults and whether it's normal to have to set this value
explicitly. My W2K workstations and servers function OK without this
setting, but one of the XP workstations is playing up. All SMTP directories
are set to the default 'C:\inetpub\mailroot\'.

Thanks,

Alan
Jul 19 '05 #1
3 24861
What does your code look like? Have you tried using an external SMTP server
instead of local pickup?

http://www.aspfaq.com/2026
http://www.aspfaq.com/2339

--
http://www.aspfaq.com/
(Reverse address to reply.)

"Alan Howard" <Xa***********@Xparadise.net.nzX> wrote in message
news:e2**************@TK2MSFTNGP09.phx.gbl...
Hi there,

I can't seem to find any info on this error message that's generated when
sending email with CDO:

"The pickup directory path is required and was not specified"

Does anyone know whether the cdoSMTPServerPickupDirectory field of the
Message object defaults and whether it's normal to have to set this value
explicitly. My W2K workstations and servers function OK without this
setting, but one of the XP workstations is playing up. All SMTP
directories
are set to the default 'C:\inetpub\mailroot\'.

Thanks,

Alan

Jul 19 '05 #2
Thanks Aaron.

Using Port and an remote SMTP server works fine from the XP box that chokes
using Pickup (and the other workstations/servers). Have also tried
reinstalling SMTP svc on the XP box but that hasn't cleared the fault. Also
ran adsutil.vbs and the (default??) pickup directory looks fine.

Code from the dispatch routine looks like this:
('SendUsingMethod', 'MailFormat' are enums passed into this routine,
'Attachments' is an array of attachements):

' Configure the email.
Set cdoConfig = New CDO.Configuration
With cdoConfig.Fields
If (SendUsingMethod = ufSendUsingPickup) Then
.Item(cdoSendUsingMethod) = cdoSendUsingPickup
Else
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = SmtpServerName
End If
.Update
End With

Set cdoMessage = New CDO.Message
With cdoMessage

Set .Configuration = cdoConfig
' Set the format.
If (MailFormat = ufMailFormatText) Then .MimeFormatted = False Else
..MimeFormatted = True
.From = FromAddress
.To = ToAddress
.CC = CcAddress
.BCC = BccAddress
.Subject = Subject
.TextBody = Body
' Attach the files specified.
If (IsArray(Attachments)) Then
For Each Attachment In Attachments
If (CStr(Attachment) <> "") Then .AddAttachment
CStr(Attachment)
Next
Else
If (CStr(Attachments) <> "") Then .AddAttachment
CStr(Attachments)
End If

' Release the email.
.Send

End With

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
What does your code look like? Have you tried using an external SMTP server instead of local pickup?

http://www.aspfaq.com/2026
http://www.aspfaq.com/2339

--
http://www.aspfaq.com/
(Reverse address to reply.)

"Alan Howard" <Xa***********@Xparadise.net.nzX> wrote in message
news:e2**************@TK2MSFTNGP09.phx.gbl...
Hi there,

I can't seem to find any info on this error message that's generated when sending email with CDO:

"The pickup directory path is required and was not specified"

Does anyone know whether the cdoSMTPServerPickupDirectory field of the
Message object defaults and whether it's normal to have to set this value explicitly. My W2K workstations and servers function OK without this
setting, but one of the XP workstations is playing up. All SMTP
directories
are set to the default 'C:\inetpub\mailroot\'.

Thanks,

Alan


Jul 19 '05 #3
"The pickup directory path is required and was not specified"

checkout:

[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_sending_or_posting_using_the_pickup_direct ory.asp[/url
-
richw
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sugapablo | last post by:
I have two ASP pages. They basically query a database, and spit out the information as plain text in CSV format. The first has the SQL query hardcoded into it. The second takes a SQL query...
5
by: MobilityB | last post by:
I am receiving this message when attempting to deploy to a CE5.0 device using VS 2005 Beta 2. Any suggestions on the cause and fix for this? Thanks, WB
5
by: Stan | last post by:
When I create a Web project and then try to add the files to it (Add Existing Item), I get this error message "The folder http://localhost/FinWeb is no longer availabe" In fact the folder and...
2
by: fabrice | last post by:
Hello I'm getting an error during a .vb file compilation. My command is : vbc /t:library /r:system.web.dll /r:system.dll /r:mscorlib.dll myFile.vb The error is :
2
by: Mr Flibble | last post by:
Hi All I've decided to put my stylesheets in a base64 .resource file for deployment and versioning reasons. I dont know if it's a great idea to do this but I couldn't think of another way of...
1
by: BillAtWork | last post by:
Hi, I'm trying to validate an XML document against an XSD schema and I receive the following error: ---------- MyCode.CreateValidRequest : System.Web.Services.Protocols.SoapException :...
5
by: Eric Davidson | last post by:
I keep getting the folowing error message in my db2diag.log every couple of seconds, and I can not find any information on this on the DB2 website or in the apr's Can anyone give me a pointer...
6
by: TC | last post by:
Hey All, I'm receiving a weird error in IE now: "The XML page cannot be displayed" This is even with the simplest of pages that I previously could view. Any ideas?
2
by: Gilles Ganault | last post by:
Hello I'm trying to use urllib to download web pages with the GET method, but Python 2.5.1 on Windows turns the URL into something funny: ======== url = "amazon.fr/search/index.php?url=search"
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.