|

DOWNLOAD
Reference
ASP Examples
WebMail Example
Send
a quick e-mail using the QuickSend feature
The QuickSend feature
is good for sending quick status notifications to a single recipient
with one method call.
<%@ LANGUAGE="VBSCRIPT" %>
<HTML>
<HEAD>
<TITLE>Chilkat WebMail Example: Quick Send Email</TITLE>
</HEAD>
<BODY>
Sending email....<br><br>
<%
' Create a mailman
set mailman = Server.CreateObject("ChilkatWebMail.WebMailMan")
' Unlock the component - use your trial or purchased unlock code.
mailman.UnlockComponent "unlock_code"
' Send an email.
' The arguments are: SENDER, RECIPIENT, SUBJECT, BODY, SMTP SERVER.
mailman.QuickSend "sender@mydomain.com", _
"fausey@chilkatsoft.com", _
"This is the subject", _
"This is the email body","mail.chilkatsoft.com"
%>
<br>(View page source to see the log)
<XML ID="XMLID">
<%
Response.write mailman.GetInstanceLog()
%>
</XML>
<%
' Standard ASP cleanup of objects
Set mailman = Nothing
%>
<BR>DONE.<BR>
</BODY>
</HTML>
|
About
Chilkat
|
Privacy
Statement. Copyright 2000-2010 Chilkat
Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com Components for Microsoft Windows 7, Vista, XP, 2000, 2003 Server, and Windows 95/98/NT4.
|
|