Note that there are some explanatory texts on larger screens.

plurals
  1. POsend mail form not sending mail
    primarykey
    data
    text
    <p>I have a form that pops up when the user clicks a link and then sends an email to the address of their choice. The form looks great, but the email isn't getting sent...</p> <pre><code>&lt;a href='#emailpopup' id='sendMessage'&gt;&lt;img src="images/email.jpg"&gt;&lt;/a&gt; &lt;div id="tellfriend" class="contact_form"&gt; &lt;a class="close" href="#close" &gt;Close&lt;/a&gt; &lt;form id='tellafriend_form' method="post" action="http://naturesfootprintinc.com/sendmail.php"&gt; &lt;label for="name"&gt;Your Name: &lt;/label&gt; &lt;input class="std_input" type="text" id="name" name="name" size="40" maxlength="35" value="" /&gt; &lt;label for="to"&gt;Friend's email: &lt;/label&gt; &lt;input class="std_input" type="text" id="to" name="to" size="40" maxlength="35" /&gt; &lt;label for="subject"&gt;Subject: &lt;/label&gt; &lt;input class="std_input" type="text" id="subject" name="subject" size="40" value="Check this out!!" /&gt; &lt;label for="message"&gt;Message: &lt;/label&gt; &lt;textarea id="message" name="message" readonly="readonly" rows="18" cols="40"&gt;Custom message&lt;/textarea&gt; &lt;input type="submit" name="submit" class="form_but" value="Submit"/&gt; &lt;/form&gt; &lt;/div&gt;&lt;!-- #tellfriend --&gt; </code></pre> <p>Scripts used:</p> <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script&gt; $(function() { $('#tellfriend').hide(); $('#sendMessage').click(function(e) { $("#tellfriend").fadeToggle('fast'); }); }); &lt;/script&gt; </code></pre> <p>Sendmail.php:</p> <pre><code>&lt;body&gt; &lt;div id="thankyou"&gt; &lt;h1&gt;&lt;strong&gt;Thanks for sharing!&lt;/strong&gt;&lt;/h1&gt; &lt;p&gt;&lt;a href="http://homepage.com"&gt;Back to homepage&lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p>Yeah, I'm a novice here. Thanks for your help and patience.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload