Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 9th, 2009, 04:54 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 112
Thanks: 12
Thanked 0 Times in 0 Posts
Default using CDONTS.NewMail to send an email???

Hi to all...

I'm using the simple code to send an email...
the email look to get stuck in "C:\Inetpub\mailroot\queue\" folder...
I get NO errors on my web page nor i get the email...
the DLL is installed...

Can someone please help... i do not know what else to try...

Thanking you in advance...

Rino

Dim objNewMail
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = fromEmail
objNewMail.To = toEmail

objNewMail.Subject = "Testing"
strBody=strBody & fromEmail &" Testing"
objNewMail.Body=strBody

objNewMail.Send
Set objNewMail = Nothing
 
Old November 16th, 2009, 10:49 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anubhav.kumar
Default

Hi Rino,

Where are the SMTP server settings to be used by this message? Your message has to use some SMTP server to be delivered.

Thanks.
__________________
Anubhav Kumar
http://anubhavtimepass.blogspot.com/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using CDONTS to send SQL server errors kevorkian SQL Server ASP 1 April 22nd, 2005 06:15 AM
CDONTS send mail for Earthlink egerdj Wrox Book Feedback 1 February 17th, 2004 05:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.