473,794 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 cdoSMTPServerPi ckupDirectory 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\mai lroot\'.

Thanks,

Alan
Jul 19 '05 #1
3 24983
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.n zX> wrote in message
news:e2******** ******@TK2MSFTN GP09.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 cdoSMTPServerPi ckupDirectory 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\mai lroot\'.

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:
('SendUsingMeth od', 'MailFormat' are enums passed into this routine,
'Attachments' is an array of attachements):

' Configure the email.
Set cdoConfig = New CDO.Configurati on
With cdoConfig.Field s
If (SendUsingMetho d = ufSendUsingPick up) Then
.Item(cdoSendUs ingMethod) = cdoSendUsingPic kup
Else
.Item(cdoSendUs ingMethod) = cdoSendUsingPor t
.Item(cdoSMTPSe rver) = SmtpServerName
End If
.Update
End With

Set cdoMessage = New CDO.Message
With cdoMessage

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

' Release the email.
.Send

End With

"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:%2******** ********@TK2MSF TNGP10.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.n zX> wrote in message
news:e2******** ******@TK2MSFTN GP09.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 cdoSMTPServerPi ckupDirectory 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\mai lroot\'.

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_usi ng_the_pickup_d irectory.asp[/url
-
richw
-----------------------------------------------------------------------
Posted via http://www.codecomment s.co
-----------------------------------------------------------------------

Jul 19 '05 #4

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

Similar topics

0
2042
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 from a webform. Now, the hardcoded results, I can click "Save Page As" when the results come up and save it as a text file. The other, while it seems to be the same results exactly, gives me an
5
3532
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
2555
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 the virtual directory FinWeb both exist and project compiles just fine, but I cannot add the existing files to it. If I create a project with a different name (FinWeb2) it works fine.
2
3816
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
4300
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 doing this other than making them available via www which may or may not be accessible (so this is a no go). Bear with me because I've only been using C# for one day so far (today is day 2! wohoo). // begin code snippet
1
3974
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 : Validation error: The element 'http://xmlns.somewhere.com/something:rDetail' cannot contain text. Expected 'http://xmlns.somewhere.com/something:AList'. An error occurred at , (1, 533). ----------
5
6160
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 why this is happening. PS I only noticed this once I had migrated to v9 db2level DB21085I Instance "DB2" uses "32" bits and DB2 code release
6
3128
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
3191
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"
0
9671
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10161
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9035
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6777
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4112
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2919
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.