ProStores Formmail Script
ProStores has a built in mail processor that it uses to send messages - like the Email a Friend feature for example. The cool part is, you can use the form mail processing that is built in to send your own forms - perhaps a "Contact Us" form or an "Ask a Question" form.
You can use the code below on any ProStores template to create a form that sends a message.
<form name="emailfriend" method="POST" action="Send.bok">
<p>FROM</p>
<p>Name <input type="text" name="$$email.senderName" value=" "></p>
<p>E-Mail <input type="text" name="$$email.senderEmail" value=" "></p>
<p>TO</p>
<p>Name <input type="text" name="$$email.recipientName" value=" "></p>
<p>E-Mail <input type="text" name="$$email.recipientEmail" value=" "></p>
<hr size="1"/>
<p>MESSAGE<br><textarea name="$$email.message" cols="40" rows="3" wrap="virtual"></textarea></p>
<p><input type="submit" value="Send"></p>
</form>
The ".bok" on the action may not be needed - it depends on the type of ProStores installation in which your store lives.
neoverve
Subscribe to the feed for this blog