It just sends the message to everyone in my database the code iam using is as follows
<!-- sql select statement for userdetial start -->
<cfquery name="mail_call_send" datasource="register" password="19mp9x4" username="administrator">
SELECT *
FROM reguser</cfquery>
<!-- sql select statement for userdetial end -->
<!-- sql select statement for carregdetails starts -->
<cfquery name="mail_call_send_1" datasource="register" password="19mp9x4" username="administrator">
SELECT *
FROM usercar</cfquery>
<!--Confirmation Email start -->
<cfmail query="mail_call_send"
from="jasonspidy@hotmail.com"
to="#mail_call_send.Email#"
subject="Your Registration Detials">
<!-- find a way to fetch the email just added to the database through the registration form -->
Please help
cheers jay

New Topic/Question
This topic is locked



MultiQuote



|