|
|
|
|
|
| | |
| |
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components 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!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|