Email Form Set-up? I'm not receiving any emails?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jiwanejko
    Corporal

    • Jun 2007
    • 19

    Email Form Set-up? I'm not receiving any emails?

    I just went through the video tutorial on setting up a standard email response form. I gave it test run, trying to send myself a message, and have not received it. The thank you page worked. I checked my web mail, as well as, my yahoo email and nothing. I must be missing something in the php code or something in the web mail. I really didn't understand all the stuff in starting the web mail pages. I did set up redirect to my yahoo, but like I said.. nothing yet. Any advice on where to go from here.
  • Andy128
    Major General

    • Dec 2005
    • 2317

    #2
    Re: Email Form Set-up? I'm not receiving any emails?

    Like to help but need a couple things:
    1- post the url of your form
    2- copy and paste the php code that you used as it is on your site right now. Post it in this thread.

    Andy
    PHP- is a blast!

    Comment

    • jiwanejko
      Corporal

      • Jun 2007
      • 19

      #3
      Re: Email Form Set-up? I'm not receiving any emails?

      Here's the script:

      <?PHP
      $mailto = "contact@1stclassgreetingcards.com";
      $email = $HTTP_POST_VARS['email'];
      if ($email == "") {
      $email = $mailto;
      }
      $mailsubj = "Contact Form Submission";
      $mailhead = "From: $email\n";
      reset ($HTTP_POST_VARS);
      $mailbody = "Values submitted from web site form :\n";
      while (list ($key, $val) = each ($HTTP_POST_VARS))
      {
      if ($key!="submit")
      {
      $mailbody .= "$key : $val\n";
      }
      }
      mail($mailto, $mailsubj, $mailbody, $mailhead);
      ?>

      The url of the "contact" link on the index page is http://www.1stclassgreetingcards.com/contact.html.. If this is what you are referring to?

      Thanks.

      Comment

      • Andy128
        Major General

        • Dec 2005
        • 2317

        #4
        Re: Email Form Set-up? I'm not receiving any emails?

        Well- the form and the php code look good. Try changing the email address that it sends the info to from contact@1stclassgreetingcards.com to your yahoo email address.

        I really didn't understand all the stuff in starting the web mail pages.
        There maybe something you did wrong in setting up the "contact" email account.

        Andy
        PHP- is a blast!

        Comment

        • jiwanejko
          Corporal

          • Jun 2007
          • 19

          #5
          Re: Email Form Set-up? I'm not receiving any emails?

          where and how do i do this?

          Comment

          • Andy128
            Major General

            • Dec 2005
            • 2317

            #6
            Re: Email Form Set-up? I'm not receiving any emails?

            In the php code where you put your email.

            PHP Code:
            $mailto "contact@1stclassgreetingcards.com"
            Andy
            PHP- is a blast!

            Comment

            Working...
            X