Please help me with this email CODE!

4 replies
this is my first time scripting an email notification and I am having trouble setting up the message in the script.

heres the html form code

Code:
<form action="../libs/process_form.php" method="post" id="notification-email" accept-charset="utf-8">
                  <div class="block_field fl">
                    <input type="text" class="w_def_text" value="" />
                    <span>Name</span></div>
                  <div class="block_field fr">
                   <input type="text" name="sender_email" id="sender_email" placeholder="Enter your email address"  />
                    <span>E-mail</span></div>
                  <div class="cl"></div>
                  <div class="block_textarea">
                    <textarea name="textarea" cols="1" rows="1" class="w_def_text"></textarea>
                    <span>Message</span></div>
                  <input type="submit" class="button_send_message" value="" />
                </form>
#code #email
  • Profile picture of the author nikeman070
    Would I need to edit details in the process_form.php ? You can submit your email address but idk how to get it to send the message and name... I am sure its a simple method but I can't do what I don't know.
    {{ DiscussionBoard.errors[4751973].message }}
    • Profile picture of the author wizarddrummer
      Originally Posted by nikeman070 View Post

      Would I need to edit details in the process_form.php ? You can submit your email address but idk how to get it to send the message and name... I am sure its a simple method but I can't do what I don't know.
      Sorry, I tried no less than 9 times;

      This site makes it impossible for someone that has less than 15 posts to answer your question with a code example.

      After I get some more posts I'll try to come back and see if the Warrior Forum still trashes what I submit.
      {{ DiscussionBoard.errors[4759050].message }}
  • {{ DiscussionBoard.errors[4753640].message }}
  • Profile picture of the author bateati
    You're going to have to create an activate.php page and a few others.

    I suggest reading the Head First php book series, all the answers are in there. I believe if you go to their website you can actually copy/paste the script you need.
    {{ DiscussionBoard.errors[4760029].message }}

Trending Topics