Avatar of tkoty
tkotyFlag for United States of America asked on

CDO.Message.1 error '80040222'

Hello again experts,
I have a new issue that i just can't resolve.

We moved an existing website to a new server. The "send mail" option was and continues to work on the old server but on the new server I get the above error. Obviously the code works properly so I assume I am missing a setting or confirguration on the new server. The new server is configured the same as the old server:
Windows 2000
IIS 5
ASP.NET 2.0

Any assistance would be greatly appreciated.

CDO.Message.1 error '80040222'
The pickup directory path is required and was not specified.
F:\REG_GUIDE\ADMIN\../_messages.asp, line 132

I've attached the file in case anyone wants to check the code.
-messages.txt
ASPASP.NETMicrosoft IIS Web Server

Avatar of undefined
Last Comment
Wayne Barron

8/22/2022 - Mon
carlnorrbom

Hi,

In Your code, try changing:

Const cdoSendUsingPickup = 1

to:

Const cdoSendUsingPickup = 2

and see if it makes a difference.

/Carl.
ASKER CERTIFIED SOLUTION
Wayne Barron

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
tkoty

Hi Carl,

Thanks for the quick response. I made the change and the error changed to:

 error '8004020f'
F:\REG_GUIDE\ADMIN\../_messages.asp, line 132

Tom
ASKER
tkoty

I found this page before, carrzkiss. Thanks. Everything it suggested I did except for the SMTP service reinstall. I guess I'll try that next.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER
tkoty

As it turns out. Exchange was previously installed on this server. As such, CDOEX.dll needed to be unregistered and then the SMTP service on IIS had to be uninstalled and reinstalled.

Once that was done everything worked fine. Thanks for the help and suggestions guys.
ASKER
tkoty

Thanks carrzkiss. I probably would not have revisited this page without your suggestion.
Wayne Barron

So, at the bottom of the information that I sent through the link:
[Quote]    If all else fails, try re-installing the SMTP service.   [/Quote]

Solved the issue correct?
If so, then why the Grade: B  ?
Should it be a Grade: A
Since it solved your issue?

Just wondering...
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
tkoty

Sorry carrskiss. As you can see I'm new to this and trying to feel my way around. As I've looked at other solutions that were graded, I noticed a lot more information (specific instructions, explanations, etc.) was given when graded an A and when just references were given (links, etc.) and no explanation a B or C was given.

I really do appreciate your assistance though.
Tom
Wayne Barron

OK.
No problem on learning the system.

Grading Tips (By Me) (Check me our, I have ask a LOT of questions, how else are we suppose to learn right? Right)

If someone comes in and is able to provide you wish information about your paticular issue
And there information fixes your issue.

Then you need to Grade: A

It does not matter rather or not the information was a link. OR a story of information.
Sometimes the most aggrivating of issues can be fixed with a single line of code.
(or) Another url link to someone else's information.
These get graded as : [A]

Like this issue here.
A single line of information through a link that was supplied fix your issue.
.... Sometimes the best things come in smaller packages...

Grade B
This would be if the information that was supplied fix the issue, but you also had to gather information
From another source to add to that information in order to make it work.

Example: If I sent you another link, that gave some information about your issue,
BUT not a resolution, BUT you was able to gather some knowledge and was able to solve the issue on your own.
The Experts pointed you to a link, But did not help you resolve the issue.
So, you would Grade: B  (And Add Author Comment to what you had to do to fix the issue)

Grade: C
This is given when
Example #1: you get information from someone that does not fix your issue at all. And you just want to close out the question and be nice, so you award points (Which is BAD)

Example #2: Someone provides information for you, and it does not solve the issue completely, and you have to go out and get other assistane from another perons/location in order to resolve the issue.
Due to the fact that the Expert NEVER come back in to post a reply to assist/help in resolving his code/information to fix your issue.

So.
In the case here.
The simple link that I supplied to you, got you where you needed to resolve your issue.
So: (Go Here)
https://www.experts-exchange.com/Community_Support/General/newQuestionWizard.jsp
====================================
Body of Message
(Add the link to this message)
Please change the grade to [A] as I am new at EE and how to Grade.

Subject: Change Grade from [B] to [A]
====================================
Have a good one.
And hope that you enjoy yourself here at EE, and get all the help you need and also
When you get the time, maybe help out others as well.

Carrzkiss
Wayne Barron

(Should have proof-red before posting, dag on the words I used....
Check me our
Check me out
&
provide you wish
provide you with

And no telling how many other :)....
)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER
tkoty

Fair enough. Thanks for even more great info.

How can I change the grade?
Wayne Barron

Go here and fill out the information that I have provided below.
https://www.experts-exchange.com/Community_Support/General/newQuestionWizard.jsp
====================================
Body of Message
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_24084252.html
Please change the grade to [A] as I am new at EE and how to Grade.

Subject: Change Grade from [B] to [A]
====================================