For Programmers: Free Programming Magazines  


Home > Archive > ASP > June 2005 > cdoSendUsingPort vs cdoSendUsingPickup









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cdoSendUsingPort vs cdoSendUsingPickup
Andy

2005-06-01, 3:55 pm

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 ***
Mark Schupp

2005-06-01, 3:55 pm

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. Divantages: 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/co...pickupdirectory).

--
--Mark Schupp


"Andy" <andyza@webmail.co.za> wrote in message
news:ubkYjzpZFHA.3876@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 ***



Kyle Peterson

2005-06-01, 3:55 pm

another divantage 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...mail_cdosys.asp



"Mark Schupp" <notvalid@email.net> wrote in message
news:eWE9c4rZFHA.3184@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. Divantages: 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/co...pickupdirectory).
>
> --
> --Mark Schupp
>
>
> "Andy" <andyza@webmail.co.za> wrote in message
> news:ubkYjzpZFHA.3876@TK2MSFTNGP12.phx.gbl...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com