CatManDave
MIS
I am using CDO in developing a company Intranet to send Help Desk emails and it appears to be working code-wise:
<!-- #include file="../../../CDOVBS.INC" -->
set objMail = CreateObject("CDONTS.Newmail"
objMail.From = USER_ID & "@TheCareGroup.com"
objMail.To = "HelpDesk@TheCareGroup.com"
objMail.Subject = "Help Desk Ticket Request"
objMail.Body = "A new Help Desk ticket " & nTicketNo & " has been added please respond"
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
<!-- #include file="../../../CDOVBS.INC" -->
set objMail = CreateObject("CDONTS.Newmail"
objMail.From = USER_ID & "@TheCareGroup.com"
objMail.To = "HelpDesk@TheCareGroup.com"
objMail.Subject = "Help Desk Ticket Request"
objMail.Body = "A new Help Desk ticket " & nTicketNo & " has been added please respond"
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