confirmation email trigger

cfmail

Page 1 of 1

0 Replies - 3655 Views - Last Post: 16 June 2005 - 07:17 PM Rate Topic: -----

#1 jspidy  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 11
  • Joined: 25-February 05

confirmation email trigger

Posted 16 June 2005 - 07:17 PM

i have come up with this query for my confirmation email
how do i trigger it when the submit button is pressed on the form

<cfquery name="mail_call_collect" datasource="register">
SELECT FirstName, LastName, UserName, Email, Password, PhoneNumber
FROM reguser</cfquery>
<!-- confiramtion email code start -->
<cfmail query="mail_call_collect"
from="jasonspidy@hotmail.com"
to="#mail_call_collect.Email#"
subject="Your Registration Detials">

Dear #mail_call_collect.FirstName#

Thank you for registering with us Your Username Email and Passwotd details are below,

Please keep these details safe for future reference..

#mail_call_collect.Email#
#mail_call_collect.Username#
#mail_call_collect.Password#


You can edit your account when you want just by logging on and click the edit account link
</cfmail>

i dont seem to have any errors this is on a seperate page to the form but i have linked it through the record set on the registration form will this trigger it??
and would using hotmail smtp in the coldfusion mail settings cause a problem

cheers jspidy :rolleyes:

Is This A Good Question/Topic? 0
  • +

Page 1 of 1