I am very frusted at this point. I have upgraded my development machine to XP Professional as per request and now everytime i recompile my applications my send e-mail procedures don't work.
Here's how my code used to be:
Dim cdoObj As CDO.Message
Set cdoObj = New CDO.Message
.To = "email@example.com"
.From = "firstname.lastname@example.org"
.TextBody = strMessage
Set cdoObj = Nothing
and this used to work just fine. Now when i go to the References window in my project there are 2 CDO Libraries:
- Microsoft CDO For Exchange 2000 Library (This is automatically selected when i open my projects)
- Microsoft CDO 1.21 Library
I have been searching on msdn.microsoft.com and have tried all the settings i could imagine but still my e-mails don't get delivered. They don't get posted in the PickUp Directory. They all go to the C:\Inetpub\mailroot\Badmail directory.
Here's the error in one of the files:
Unable to deliver this message because the follow error was encountered: "Error is processing file in pickup directory.".
The specific error code was 0xC00402CE.
I get this error in both machines (XP/Win2K). But there are no erros from VB.
Any help would be appreciated.