Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDO Problem

Status
Not open for further replies.
Nov 29, 2001
72
US
I am using CDO in developing a company Intranet to send Help Desk emails and it appears to be working code-wise:

<!-- #include file=&quot;../../../CDOVBS.INC&quot; -->
set objMail = CreateObject(&quot;CDONTS.Newmail&quot;)
objMail.From = USER_ID & &quot;@TheCareGroup.com&quot;
objMail.To = &quot;HelpDesk@TheCareGroup.com&quot;
objMail.Subject = &quot;Help Desk Ticket Request&quot;
objMail.Body = &quot;A new Help Desk ticket &quot; & nTicketNo & &quot; has been added please respond&quot;
objMail.Send
set objMail = Nothing

I mean, I am not getting errors when stepping though it line by line in debug. However, the messages end up in the mailbox/queued directory which tells me that SMTP picked it up but was unable to successfully send the EMAIL.

I am getting the following error message in EventViewer on the server: Message delivery to the remote domain 'TheCareGroup.com' failed.

The domain 'TheCareGroup.com' is our company domain which is why the error message is confusing.

Any ideas?

Thanks in advance for any suggestions,
Dave



 
The idea of computers automatically sending e-mails opened up to unlimited possibilities in streamlining notification tasks. CDO objects (in NT and Exchange) provide a simpler way of realizing this functionality. Is your domain 'TheCareGroup.com' accessible in the internet or is it just in localized/intranet domain?
 
The domain is accessible in the internet. We are in the process of upgrading the domain to w2k. For know, it is an NT4 domain. Internally, I am connected to different domain name but all our EMAIL addresses still end in ...@TheCareGroup.com. I am sure this is part of the reason. Also, our NT Admin group is against the idea of running the IMS wizard on the Exchange server. After reading a couple recent articles on security, I see why.

Any insight on this would be very appreciated.

Thanks,
Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top