|
|
|
Here is an example of JettQMail:
|
| JettQMail Results: |
Send a Message from below.
|
|
Syntax:
|
|
SYNTAX FOR Active Server Pages
|
<%
Set Mailer=Server.CreateObject("JettMail.SMTPMailer")
Mailer.FromName = "#iif(isDefined("Form.Name"), "Form.Name",DE("JettSoft Support"))#"
Mailer.FromAddress = "#iif(isDefined("Form.EMail"), "Form.EMail",DE("Support@jettsoft.com"))#"
Mailer.AddRecipient("Webmaster Name","webmaster@yourdomain.com")
Mailer.AddBCC("JettSoft Support", "support@jettsoft.com")
Mailer.AddCC("JettSoft Sales", "sales@jettsoft.com")
Mailer.AddAttachment("SomePathAndFile")
Mailer.Subject="Message from JettSoft.com Website"
Mailer.ContentType="text/html"
Mailer.UseQMail=True
Mailer.Body="This is the Body of the Email"
if Mailer.Send then
Response.write("Message Sent!")
end if
Set Mailer=Nothing
%>
|
|
SYNTAX FOR ColdFusion
|
<CFOBJECT TYPE="COM"
ACTION="Create"
CLASS="JettMail.SMTPMailer"
NAME="Mailer"
>
#Mailer.AddRecipient("Webmaster Name", "webmaster@jettsoft.com")#
#Mailer.AddAttachment("SomePathAndFile")#
#Mailer.AddBCC("JettSoft Support", "support@jettsoft.com")#
#Mailer.AddCC("JettSoft Sales", "sales@jettsoft.com")#
<CFSET Mailer.FromName="#iif(isDefined("Form.Name"), "Form.Name",DE("JettSoft Support"))#" >
<CFSET Mailer.FromAddress="#iif(isDefined("Form.EMail"), "Form.Email",DE("support@jettsoft.com"))#" >
<CFSET Mailer.Subject="Message from JettSoft.com Website" >
<CFSET Mailer.UseQMail=True >
<CFSET Mailer.Body="This is the Body of the Email" >
<CFIF Mailer.Send() >
Mail Message Sent!
</cfif >
| |
|
Enter email address to send a message to:
|
|
|
Take a look at configuration screens
|
Screen 1
Screen 2
|
To download this product, please visit http://www.jettsoft.com/products/productList.php
|
|