Using Our PHP Form Mailers on Web & Classic Hosting
This article only applies to Web & Classic Hosting. For more information, see What type of hosting account do I have?
Customers using cPanel or Plesk can use Sending Form Mail with cPanel and Plesk Shared Hosting.
Two non-CGI form mailers are included in Linux shared hosting account default files: webformmailer.php and gdform.php. They reside in the root directory of your hosting account. Incorporating either of these scripts into your website creates a form to capture user information and email it to a specified address.
For more information about designating the destination email address, see Specifying an Email Address for the PHP Form-Mailer.
Using webformmailer.php
Follow these steps to use webformmailer.php.
To Use webformmailer.php
- Log in to your Account Manager.
- Click Hosting.
- Next to the hosting account you want to manage, click Manage.
- From the Tools section, click File Manager.
- Click the file name for the Web page you want to place your form mailer in.
- Enter the form mailer in the body of your HTML.
- This is a very generic form mailer you can use:
/webformmailer.php
to the action attribute and set the form method to post
:form_format determines in what format the information is delivered. Its values are 'text', 'csv', 'html', 'xml', and 'default' (same as 'text').
form_delivery determines the frequency and packaging of delivery. All form submissions are sent via an attachment. You can specify the form_delivery variables as one of the following: 'digest', 'hourly_digest', and 'daily_digest'.