|
|
|
|
|
| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Using CDONTS sending email DOESNT work with some email addresses |
From: |
aspuser |
Date: |
8/18/2002 11:16:09 PM |
IP: |
203.109.250.95 |
Hi All,
Please see the following code.
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "anyemailaddress"
objMail.To = "anyemailaddress"
objMail.Bcc = "anyemailaddress"
objMail.Subject = "Sending email with CDONTS"
objMail.Body = "This is an email message"
objMail.Send
set objMail = nothing
%>
My understanding is that we can send email FROM anyemailaddress TO, CC or BCC to anyemailaddress we want. Am I right?
I don't understand why I have NO problem with sending email
to address of most accounts (ie. adotcomgirl@hotmail.com) BUT when I use
objMail.To="zjrz@telstra.com"
this particular account, the email won't be sent out, they stay at C:\Inetpub\mailroot\Queue\
whilst
objMail.Bcc="xxx@hotmail.com"
it works fine, email can be delivered promptly.
Does anyone know the problem? Thanks in advance!
|
|
|
|
|
|
|
|
|
|
|
|
|