Hi, I wanna build an HTML newsletter email input...so customers can send their email to my gmail account and I can write a monthly newsletter! I just have no idea where to start? I downloaded a web template and this is what I have so far.... <form style="margin:0" name="myForm11" id="myForm"> <input type="text" style="width:170px; height:20px; vertical-align:middle" class="input"><br><br style="line-height:8px "> <a href="#" class="bel-norm">Unsubscribe</a><input type="image" src="images/but1.jpg" align="middle" style="margin-left:53px "> </form> do I need a PHP form as well? Could someone be so kind and help me out? Thanks!
to get the emailing to work, you could modify your code to look something like this: (Note: add the red bits to your code) <form style="margin:0" name="myForm11" id="myForm" [COLOR="Red"][B]method="post" action="mailto:youremail@email.com"[/B][/COLOR]> ... [COLOR="Red"][B]<input type="submit" value="Send"> [/B][/COLOR] ... </form> Code (markup): hope this helps. Cheers
If you use this way, your email address is exposed to anyone. The best way is to send the data to a seperate PHP file and send the email from there. Ex. Let's say your email processor is processemail.php. Then the form code should be, <form style="margin:0" name="myForm11" id="myForm" method="post" action="processemail.php"> ... <input type="submit" value="Send"> ... </form> HTML: Hope this helps BR, Sampath