Search
Register |  Sign In |  Sitemap |  Home Techvalley Host
 

 

Techvalley Host
Techvalley Host
Techvalley Host
 
Coldfusion provides a tag that enables you to send email messages through your website. The name of the tag is CFMail. This tag is available on all of our accounts that support Coldfusion.  
The syntax of the tag is very simple. Within the tag you add the pertinent information including the to address, the from address, a subject line and the server name. The server name will be the same as the webmail address for your account. For example, mail.domainname.com. The message of the email is placed between the cfmail tags.  
Below is an example of the CFMail tag for both Coldfusion 5.0 and Coldfusion MX 6.1  
 
 
 
CFMail tag using Coldfusion 5.0
to ="name@youromain.com"
from = "name@yourdomain.com"
subject = "Example of CFMail Tag using Coldfusion 5.0"
server = "mail.yourdomain.com">
Email Message
 
CFMail tag using Coldfusion MX 6.1
to =" name@yourdomain.com"
from = "name@yourdomain.com "
subject = "Example of CFMail Tag using Coldfusion MX 6.1"
server = "mail.yourdomain.com"
username = "name@yourdomain.com "
password = "password">
Email Message
Coldfusion MX 6.1 allows for SMTP Authentication by use of a username and password. The username and password must be a valid email address from your mail account.
For more detailed information about CFMail on Coldfusion MX 6.1 you can view Macromedia's livedocs website at http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-pta.htm#wp2355015
 


Techvalley Host Privacy Policy   |  Terms and Conditions
Website created and maintained by NSNA - a Bellingham Web Design company. Copyright © 2008 All Rights Reserved.