473,231 Members | 1,683 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,231 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 24818
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"
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.