Current Version 7.2.0
Release Date 26 Dec 2023
License MIT

PHPMailer-FE is a form-to-mail application with very secure and powerful capabilities. It includes a Plugin architecture that provides you the ability to create form post-processing applications limited only by your imagination. Please see the tips section for documentation, with an example, on how to use this plugin feature.

PHPMailer-FE is a Form to Mail gateway that parses the results of any form and sends them to the specified recipient(s).

There area number of advanced features incorporated into PHPMailer-FE. We are delighted with the results. In PHPMailer-FE you will find an extensive array of features not found in other form-to-mail handlers:

Note: as of version 7.2.0 released 26 December 2023, PHPMailer-FE is complete re-written. It is now an object oriented class.

  • PHP7 compatibility including error_reporting(E_ALL) support
  • Integration with PHPMailer Pro with support for, SMTP,
    Sendmail, Qmail – and all the functionality availability through PHPMailer Pro.
  • Without PHPMailer Pro supports Sendmail and PHP mail() function
  • CUSTOM FORM HANDLING
    • Site-wide settings can be overridden with variables that apply to a single, unique form. For example, you can have form-specific landing pages, CC and BCC recipients.
  • CUSTOM EMAIL FORMATTING
    • Each form can have its own email template in which you decide precisely how to present the form data, including tables and other formatting. You simply write a template with standard HTML including form field names where you want them, and PHPMailer-FE will substitute the form contents.
    • You can even send a DIFFERENT custom email by reply to the submitter. Send a special thank you note with only relevant information included.
  • ATTACHMENTS
    • PHPMailer-FE provides the ability to attach files from your web server to reply emails. So you can for example, create a form to email the submitter a file such as a PDF or image from your server. That way, the visitor retrieves the file without your intervention, and you get to capture whatever visitor details you include in the form.
    • You can also configure the form to allow the user to attach one of their own files to the email. It will be emailed to the recipient but not kept on the server.
  • AUTORESPONDER
    • PHPMailer-FE can be used as an autoresponder. It can send an email to the submitter without sending email to anyone else.
  • CALCULATIONS
    • You can now do calculations with form fields. Want to multiply prices by quantities and add up a total. Now you can.
  • ANY SOURCE
    • PHPMailer-FE supports any type of form from any source. You can even include a survey form in the body of an email and then forward it to the company forms processing service (PHPMailer-FE).
  • PROCESSING NOTIFICATION
    • PHPMailer-FE displays to the submitter an animated image indicating that processing is taking place. No longer does the submitter have to sit and wait, wondering whether they've clicked the Submit button or not.
  • MORE
    • There are numerous other enhancements to existing features.

We invite you to test-drive the new PHPMailer-FE today!

Some benefits:

  • Simple licensing (MIT) and we encourage you to use the script in your own applications, including commercial packages. There is NO requirement to display any messages for us, although that would be very much appreciated. Do let us know how you use PHPMailer-FE - if you use PHPMailer-FE in your software package, we can include your logo and project description on our user page.
  • minimal configuration needed. Essentially all you need to do is change one single variable
    $setRecipient = [ 'name@domain.com' => 'Optional Name' ];
    put the script on your server, and direct your form to the script in the form's action directive. The script handles everything else. Of course, there are many other optional settings and features. Take advantage of them all for a superb, safe and stable form mailer solution.
  • support for ban list ... protects against URLs injected into any field that contains "nourl" in the field name. There is nothing more annoying than putting up a contact us form and having it used by purveyors of porn and other junk. This feature will eliminate these emails. The first time a spammer uses your form with URLs, 1) their IP and Remote Host will be stored in your ban list log file, 2) they will be redirected back to your home page, and 3) their submission will be discarded. Future attempts to submit the form will result in a rejection message.
  • support for redirect when a banned submission is detected. Custom create your own ban "landing" page.
  • PHPMailer-FE works with the leading Email Transport Class: PHPMailer Pro. PHPMailer-FE will use the PHPMailer Pro class if found. If not found, PHPMailer-FE will use the native PHP mail() function.
  • Support for unique landing pages for each form (each for successful submission and failed submission).
  • Support for reply emails for each form (each for successful submission and failed submission).
  • Support for External Configuration files for each form, plus one default that applies to all forms.
  • able to send a file attachment without storing the files in the server
  • Download includes a sample basic form package that includes landing pages, reply emails, external configuration files.