Knowledgebase: Email
Send email ColdFusion MX7
Posted by Staff Team, Last modified by on 26 August 2006 10:16 PM
In order to send mails successfully through CFMAIL tag you have to make sure that the CFMAIL construct looks like this...

<CFMAIL
FROM="user@mydomain.com"
TO="user@otherdomain.com"
SUBJECT="My Subject"
SERVER="mail.mydomain.com"
USERNAME="user@mydomain.com"
PASSWORD="mypassword">

Email goes here...

</CFMAIL>

In the above construct you should replace mail.mydomain.com with your domain name, and user@mydomain.com with the email user that you have created in helm. Remember emails will not go out without proper authentication so the password should be valid for that username.
(776 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).