spacer
spacerLokken Logo
spacerLokken Binary Logo
spacer
spacer
spacer
spacer spacer spacer spacer
Email Object
Language:   Server Sided ASP - JavaScript
Author:   Jon Lokken
Date:   4-8-2005

Description: View Example
Check Example
Using the ASP CDONTS object you can send text or html emails.

<%@ LANGUAGE="JavaScript" %>
<% Response.buffer=true %>
<%

objMsg = Server.CreateObject("CDONTS.NewMail")

objMsg.subject = "Test Email";
objMsg.from = "test@lokken.net";
objMsg.to = "test@lokken.net";
objMsg.cc = "test@lokken.net";
objMsg.bcc = "test@lokken.net";
objMsg.Importance = 2;
objMsg.MailFormat = 0;
objMsg.BodyFormat = 0;
objMsg.body = "Test Email<br><br>Webmaster";

objMsg.send();


 

%>
 


Disclaimer:
Feel free to use this code I have written.  I only ask that you leave my name in the comments.  I take no responsibility for this code working, imply no warranty as to it's validity, and will not be held liable if you decide to try it.  I am only trying to help out others so they don't have to struggle with the same problems as me...

Associated Sites: Jon Lokken - http://www.jonlokken.com | Samantha Lokken - http://www.samanthalokken.com | Amy Lokken - http://www.amylokken.com | Teresa Lokken - http://www.teresalokken.com | Gary Lokken - http://www.garylokken.com | Sharon Lokken - http://www.sharonlokken.com | Rockin Lokken - http://www.rockinlokken.com | Lokken Consulting - http://www.lokkenconsulting.com | Leistico - http://www.leistico.com | Greshwalk - http://www.greshwalk.com | Snowboarding Samantha - http://www.snowboardingsamantha.com | Snowboard 4 Fun - http://www.snowboard4fun.com | Snowboard for Fun - http://www.snowboardforfun.com | Snowboard Four Fun - http://www.snowboardfourfun.com
Author: Jon Lokken - http://www.lokken.net