SMTP Setting For GearHost
When using cfmail on a site hosted by GearHost, the server must be set in the tag as so:

Using CFMAIL

CFMAIL is a ColdFusion tag that can be used to send mail from a script. Here is an example of a script using CFMAIL to send a message.

<cfmail to = "someone@example.com"
       from = "someone@example.com"
       subject = "test email"
 server = "localhost">
       This message was sent by an
       automatic mailer built with cfmail:
       = = = = = = = = = = = = = = = = = = = = = = = = = = =
       = = = = = = = = = = = = = = = = = = = = = = = = = = =
       MleBleh
</cfmail>  
<center>Message Sent Successfully</center>


Archives