Jump to content

Need help with contact and mailing list forms FAST!!!!!


likegluelikecrew

Recommended Posts

Ok, this is the code I have for my contact form, I'm also attaching my contact.php file, if someone could take a look at this and let me know what's going wrong I'd greatly appreciate it!  I uploaded the site (http://www.sdesignsstore.com) and I tried out the form on the contact page and I got emailed this error...

 

The following error occurred in FormMail :

no_valid_recipients

 

**********

Error=The form has an internal error - no valid recipients were specified.

email:

realname:

 

Here's the code for the form on the contact page...

 

<form id="form1" name="contact" method="post" action="contact.php">

    <table width="300">

      <tr>

        <td colspan="2"><span class="MainText">All information will be kept private</span></td>

      </tr>

      <tr>

        <td width="61"><span class="MainText">Name:</span></td>

        <td width="227"><span class="MainText">

          <input name="Name" type="text" id="Name" size="25" />

        </span></td>

      </tr>

      <tr>

        <td><span class="MainText">Email:</span></td>

        <td><span class="MainText">

          <input name="Email" type="text" id="Email" size="25" />

        </span></td>

      </tr>

      <tr>

        <td><span class="MainText">Phone:</span></td>

        <td><span class="MainText">

          <input name="Phone" type="text" id="Phone" size="25" />

        </span></td>

      </tr>

      <tr>

        <td> </td>

        <td> </td>

      </tr>

      <tr>

        <td><span class="MainText">Message:</span></td>

        <td><span class="MainText">

          <textarea name="Message" id="Message" cols="23" rows="5"></textarea>

        </span></td>

      </tr>

      <tr>

        <td> </td>

        <td> </td>

      </tr>

      <tr>

        <td> </td>

        <td><input name="Clear" type="reset" class="MainText" id="Clear" value="Clear" />

           

        <input name="Submit" type="submit" class="MainText" id="Submit" value="Submit" /></td>

      </tr>

    </table>

  <input type="hidden" name="recipients" value="xporcellx@gmail.com" />

  </form>

 

The mailing list form on the homepage doesn't work either, I got this error...

 

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/content/s/w/e/sweb09/html/mailinglist.php on line 8

 

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/content/s/w/e/sweb09/html/mailinglist.php on line 9

 

Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/content/s/w/e/sweb09/html/mailinglist.php on line 9

 

Here's the code I used for the mailing list form, I'll attach my mailinglist.php file as well...

 

<form method="post" action="http://www.sdesignsstore.com/mailinglist.php">

<input name="message" type="text" value="Enter email address" />

<input type="submit" value="send" />

</form>

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.