Results 1 to 2 of 2
  1. #1
    Abina's Avatar
    Abina is offline Master
    Join Date
    Dec 2009
    Location
    United States
    Posts
    1,073
    Thanks
    1
    Thanked 6 Times in 4 Posts
    Feedback Score
    0

    Default Very New. Help Please

    I am very new to Cold Fusion.. I recently installed Adobe CS4 Master Collection.. I just wanna start with a basic CFMail..

    For an example.. Have a textbox where teh user will enter there email and click submit to send it to me. That way i can put them on a mailing list.

    I guess that would be a good start for me... Can anyone help?

  2. #2
    numberone's Avatar
    numberone is offline Senior
    Join Date
    Jan 2010
    Posts
    623
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    This can be pretty simple if you like. First start by creating a form with the desired text boxes and textarea to accomadate all the email info.

    Somthing like:

    Code:
    Here is the form page code:
    
    <cfform action="action.cfm">
    
      <cfinput type="text" name="from_email"...> the user will enter their email here:
      <textarea name="message"> </textarea>    their meaasge will go here:
     <cfinput type="submit">    this is the submit button:
    </cfform>
    Theres a lot more you can do and probley should do like validation both on the client side and server side of this script. Do this to ensure that no bad info is passed to the server and possible on to your email.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS