CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 cdonts

Print topic Send  topic

Author Message
eeabe

Posts: 1
Posted: 08/28/2006, 2:50 AM

Can any one help me. I am new to cdonts and would like a bit of code that sends email from the server to myself (eugene@eeabe.co.uk) when a form is submitted that contains the senders name, date and time. I have used the email action on insert update to no effect.

Thanks
_________________
the dude
View profile  Send private message
Benjamin Krajmalnik
Posted: 08/28/2006, 12:23 PM

Unless you are running on NT4 (which I hope by now you are not), you are
better off using CDOSYS.


Set objCDO = Server.CreateObject("CDO.Message")

objCDO.To = "me@me.com"
objCDO.From = "whoever@wherever.com"
objCDO.cc = "cc@towherever.com"

txtMessage = "========================================================" &
CHR(13) & CHR(10)
txtMessage = txtMessage & "blah blah blah blah blah" & CHR(13) &CHR(10)
txtMessage = txtMessage &
"========================================================" & CHR(13)
&CHR(10)
= txtMessage &CHR(13) & CHR(10)

objCDO.Subject = "Subject of the message"
objCDO.TextBody = txtMessage
objCDO.Send
Set objCDO = Nothing


cab33010

Posts: 26
Posted: 08/29/2006, 8:11 PM

Use ( Forms To Go ) does the best job http://www.bebosoft.com/products/formstogo/ and its cheap.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.