Return to "ValueApps - Collaboration"

Sending Form Submissions by Email with FormMail


 
The topic of this article is supported in its entirety by our customer support department.

OpenSourceHost provides a secure way for you to accept form submissions on your website via email—the FormMail ValueApp. With the FormMail ValueApp, you can build a web-based form in your sites HTML code and have the form submissions automatically emailed to you. To get started, you must first install the FormMail ValueApp.

Log in to your VDS Manager by clicking the ‘Login to VDS Manager’ link from the Products page of the Customer Manager, which is located at https://my.opensourcehost.com.

Click on Install & Manage on the left side of the screen.

Click on the Colaboration folder at the top of the page

Click on FormMail under the Available ValueApps section on the left

Click to install the ValueApp.

Now that the FormMail ValueApp is installed, you can create a form in your HTML code that will be submitted via email. Your form must have the action set to “/formmail.php”, and the method set to “POST”. You must include a hidden form input with the name “recipient” and the value set to your email address where the form information will be sent. Additionally, you must have a text field with the name “email” for the submitter of the form to enter their email address into; without a valid email address, the form cannot be sent. The email address that they enter will be used as the From: address on messages to you from FormMail for your conveniance. Here is some example HTML to get started; you will need to add your form input fields and submit button for the form to work:

<form method=“POST” action=“/formmail.php”>
<input type=“hidden” name=“recipient” value=“”>
<input type=“text” name=“email”>

Please note that the FormMail ValueApp will only allow emails to be sent via the form to email addresses that were added via the VDS Manager; you cannot use the FormMail ValueApp to send form responses to an email address with another company. This is to prevent spammers from using your form to send out spam messages from your VDS.