473,396 Members | 1,771 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,396 software developers and data experts.

cdoSendUsingPort vs cdoSendUsingPickup

aspfaq.com Article 2305 "Why does CDO.Message give me 8004020F errors?"
recommends

"using a SendUsing value of 1 (pickup) instead of 2 (port)"

to try and resolve 8004020F CDO.Message errors.

But when should we use cdoSendUsingPort and when should we use
cdoSendUsingPickup? Is one better than the other, or is it just a matter
of preference?
*** Sent via Developersdex http://www.developersdex.com ***
Jul 22 '05 #1
2 10374
This is my *opinion* (others may have other opinions).

If you can use cdoSendUsingPickup do so. It has the advantage of not
requiring that the SMTP server be running at the time the email is being
sent. It also does not require ASP to make a network call to the SMTP server
so I would expect it to be more efficient. Disadvantages: IUSR account (and
possibly IWAM) account need modify access to the pickup directory. XP and
Win 2003 no longer allow IUSR and IWAM accounts to read the metabase so you
will have to specify the pickup directory
explicitly(http://schemas.microsoft.com/cdo/con...ckupdirectory).

--
--Mark Schupp
"Andy" <an****@webmail.co.za> wrote in message
news:ub**************@TK2MSFTNGP12.phx.gbl...
aspfaq.com Article 2305 "Why does CDO.Message give me 8004020F errors?"
recommends

"using a SendUsing value of 1 (pickup) instead of 2 (port)"

to try and resolve 8004020F CDO.Message errors.

But when should we use cdoSendUsingPort and when should we use
cdoSendUsingPickup? Is one better than the other, or is it just a matter
of preference?
*** Sent via Developersdex http://www.developersdex.com ***

Jul 22 '05 #2
another disadvantage of using the smtp pickup method is MX records
often emails sent without a valid mx record will get ignored or be
considered spam and never reach their recipient.

and emails sent using an smtp virtual server usually wont have a valid mx
record

these article explains the various methods in detail
http://www.powerasp.com/content/new/...ail_cdosys.asp

"Mark Schupp" <no******@email.net> wrote in message
news:eW**************@TK2MSFTNGP15.phx.gbl...
This is my *opinion* (others may have other opinions).

If you can use cdoSendUsingPickup do so. It has the advantage of not
requiring that the SMTP server be running at the time the email is being
sent. It also does not require ASP to make a network call to the SMTP
server so I would expect it to be more efficient. Disadvantages: IUSR
account (and possibly IWAM) account need modify access to the pickup
directory. XP and Win 2003 no longer allow IUSR and IWAM accounts to read
the metabase so you will have to specify the pickup directory
explicitly(http://schemas.microsoft.com/cdo/con...ckupdirectory).

--
--Mark Schupp
"Andy" <an****@webmail.co.za> wrote in message
news:ub**************@TK2MSFTNGP12.phx.gbl...
aspfaq.com Article 2305 "Why does CDO.Message give me 8004020F errors?"
recommends

"using a SendUsing value of 1 (pickup) instead of 2 (port)"

to try and resolve 8004020F CDO.Message errors.

But when should we use cdoSendUsingPort and when should we use
cdoSendUsingPickup? Is one better than the other, or is it just a matter
of preference?
*** Sent via Developersdex http://www.developersdex.com ***


Jul 22 '05 #3

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

Similar topics

0
by: Jorge Pagano | last post by:
I'm using CDO for Windows 2000 (CDOSYS) to send mails from my ASP application. I have a problem with the Bcc recipient if the SendUsing property is set to cdoSendUsingPickup. I check the eml file...
1
by: Alistair | last post by:
hey folkies now that I've started my migration to CDOSYS from CDONTS..how do i find what my email server name is?? locally, I'm on win XP...I'll ask the hosts for the other details, but i...
3
by: Hugh Welford | last post by:
Hi Using WIN XP and FP2000 Using CDO.message to out put a message from my site, I get the following error message 8004020f from using the code:- strsql = "SELECT * FROM details WHERE patid...
2
by: Alan Howard | last post by:
Just migrating some code from CDONTS to CDO and noticed some behaviour I want to verify. When using cdoSendUsingPickup the outgoing email spools to the local filesystem first before being routed...
12
by: tshad | last post by:
I am trying to run a test sending mail using CDONTS on my W2K3 machine. It works fine running from my WXP Pro, but I don't recieve the mail if run the W2K3 machine. Both machines have IIS...
2
by: Latha Rajeev | last post by:
Hi, I have an application which sends out mails(using CDO), the SMTP Server being a machine which is one the same network. Most times, the mails are sent out successfully but every once in a...
4
by: MadeOfRose | last post by:
Hi all i was using cdo object for sending email to a customers. when use win2000 server or windows xp my script works correctly. but not on win2003 server r2. Different thing on my script is...
4
by: aroraamit81 | last post by:
Hi, I am using CDO component to send emails through my ASP page as I am having IIS on windows XP.......... Now the mails goes and gets into mailroot\Queue folder but does not reaches to the...
7
by: Arno R | last post by:
Hi all, I am sending mail from my apps with CDO nowadays. However I have one client where this will not work until now. I am thinking this is related to the provider where the client has his...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.