Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

CFMAIL

Hey folks,
I have a web for our church whre people can sign up for email updates.

I have a cfmail form that is working fine...but what I would like to do is click a button on a source page, and when the cfmail is finished just go to another page which has a short statement that says "Mail Sent".

Current code:

<cfmail query="mail_list" from = "email@email"
  to = "#mail_list.addr#" server="server" username="user_name" password="pswrd"
  subject = "Email">

   <cfmailpart type="html">
     <h4>#test.ttl#</h4>
     <p>#test.msg#<br /><br />
     <h4>#test.signat#</h4><br />
     <h4>#test.signat2#</h4></p>
  </cfmailpart>
</cfmail>
0
lrbrister
Asked:
lrbrister
1 Solution
 
nickj224Commented:
After your cfmail tag, write:

<cflocation = "newpage.cfm">
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now