ProStores Tips & Tricks: April 2008 Archives

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.

About this Archive

This page is an archive of blog entries in the ProStores Tips & Tricks category from April 2008.

ProStores Tips & Tricks: February 2008 is the previous archive.

ProStores Tips & Tricks: May 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

ProStores Tips & Tricks: April 2008: Monthly Archives