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!

CDONTS and SMTP..?

Status
Not open for further replies.

kenjoswe

Technical User
Sep 19, 2000
327
SE
Hi all,
I have tried to send the below message but nothing happends.
The server has the SMTP service running.

<%
Dim msgBody

msgBody = &quot;Message&quot;

Set myMail = CreateObject(&quot;CDONTS.NewMail&quot;)

myMail.From = &quot;kent.johnson@pannordic.com&quot;
myMail.To = &quot;kent.johnson@pannordic.com&quot;
myMail.Cc = &quot;&quot;
myMail.BCC = &quot;&quot;
myMail.Subject = &quot;&quot;
myMail.Body = msgBody

myMail.Send

Set myMail = Nothing

Response.Write (&quot;Message is sent?&quot;)
%>

What can be wrong?


/Kent J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top