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!

Email via CDONTS will not evoke message on recipient machine

Status
Not open for further replies.

jeffcullina

Programmer
May 13, 2002
80
US
I have an email set up through a web page that makes use of CDONTS. The web page sits on an NT server. The recipient of the email has Outlook set up to show the standard message box that says a new email has arrived, and generate the standard envelope icon in the status frame of the windows bar. He is properly notified by both message box and envelope icon for standard emails, but is not notified by either from the web-generated email. It only makes sense that the problem has to do with the server side of the email rather than the recipient's configuration. Is there anything I can add to the CDONTS properties or any add-in I can have installed on the server to handle this problem? Thanks. The CDONTS code is written as follows:

<%
'SEND EMAIL
Dim objMail
Set objMail = Server.CreateObject(&quot;CDONTS.NewMail&quot;)
objMail.To = strRecipient
objMail.From = strSender
objMail.cc = strCC
objMail.Subject = strSubject
objMail.Body = strBody
objMail.Send
set objMail = nothing
%>
 
Is it safe to assume that the client, and the IIS are on different boxes?

Sometimes if you set up the SMTP through IIS to use the CDONTS, and you are testing it to a mail account that resides on teh same box as IIS, that you will get errors like this.

Has something to do with how the SMTP translate the e-mail addresss. The money's gone, the brain is shot.....but the liquor we still got.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top