Hi all,
I have a problem sending email using CDONTS. Digging around on TechNet
didn't help and Google indicated that this is a common problem but I found
no solutions.
Configuration is
NT 4.0 SP6a
IIS 4.0
Exchange 5.5 SP4
We are trying to send email via CDONTS on the same server as Exchange.
Script works fine to send email outside the server. It also works fine to
send email to domains on the server that are re-routed to the primary domain
KleinschmidtUSA.com (via IMS routing). Trying to send email to the primary
domain results in an NDR.
Your message did not reach some or all of the intended recipients.
To: [EMAIL PROTECTED]
Subject: NERAC Request
Sent: 12/20/02 12:17:51 PM
The following recipient(s) could not be reached:
[EMAIL PROTECTED] on 12/20/02 12:17 PM
Unable to deliver the message due to a communications failure
The MTS-ID of the original message is: c=us;a= ;p=kleinschmidt
ass;l=RAVEN0212201717ZDJ4GJ5Z
MSEXCH:IMS:Kleinschmidt Associates:PITTSFIELD:RAVEN 3902 (000B09AA) Host
Unknown
My first guess was a DNS issue, but I cannot find any faults with it.
Anyone have any ideas? Script is shown below
TIA,
Aaron
************************
Dim objMail
Dim strEmail
Set objMail = Server.CreateObject("CDONTS.NewMail")
If Not isNull(Request("txtEmail")) Then
strEmail = Request("txtEmail")
Else
strEmail = "[EMAIL PROTECTED]"
End If
objMail.From = strEmail
objMail.Subject = "NERAC Request"
objMail.To = "[EMAIL PROTECTED]"
objMail.Body = "NERAC REQUEST FOLLOWS" & vbcrlf & vbcrlf&_
"Project Name: " & Request("txtProjectName") & vbcrlf & vbcrlf&_
"Job Number: " & Request("txtJobNumber") & vbcrlf & vbcrlf&_
"Information Needed: " & Request("txtDescription") & vbcrlf & vbcrlf&_
"Search Terms: " & Request("txtTerms") & vbcrlf & vbcrlf&_
"Date Needed By: " & Request("txtDate") & vbcrlf & vbcrlf&_
"Provide Search Results To: " & Request("txtResults")
objMail.Send
Response.Redirect("thanks.asp")
set objMail = nothing
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]