You need a JavaScript-enabled browser to view this site.
  Web Hosting Support   Company News
 

Using the CFMail tag

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

<cfmail
   to =”name@yourdomain.com”
   from = “name@yourdomain.com”
   subject = ”Example of CFMail Tag using Coldfusion 5.0”
   server = ”mail.yourdomain.com”>
Email Message
</cfmail>

CFMail tag using Coldfusion MX 6.1

<cfmail
   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
</cfmail>

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%20

 

Flash Games
We've jumped on the Flash games bandwagon and are starting to release some of our games for your enjoyment. We're just getting our feet wet, so the games are starting out simple! Check out our games page to see what's available.

 
Featured Project

Ouray Vacations—Mountain Getaways

Ouray Vacations WebsiteImageAid recently completed and launched the innnagural Web site for OurayVacations.com. The site promotes vacation opportunities and activities in Ouray, Colorado, 'The Switzerland of America.' The site integrates HTML with XML and Flash, creating a usable, dynamically driven site.

In the coming months, we will be launching a PHP- and MySQL-driven property promotion and reservation system. This application will enable local property management firms to easily and efficiently oversee their vacation rentals.

Planning your trip to Ouray, Colorado, is now as easy as visiting www.ourayvacations.com.

 
Search Form

Topic:

Show Page Summaries