PHPMailer-FVE Changelog

v2025.1.2.3 09 August 2025
  - restructured and reformatted all the code
  - several small corrections
  - added "honeypot" rule that can be applied to any form field
    - form field is expected to be empty, if the field contains
      anything, processing immediately stops, PHP exits, with a
      "Critical Error." message
      (see sample forms for usage)
v1.0.0RC1 xx XXX 2024 (initial release)
- a new object-oriented class merging two previous projects:
  - FormValidator (class, now withdrawn)
  - PHPMailer-FE (class, now withdrawn)
PHPMailer-FVE is the result of a user suggestion to merge
form validation and form data emailing into one single class.
The premise being that form validation and form data emailing
are intrinsic. This is quite true, in all of the time since I
created both packages, I have always used both together.
Now they are merged into one single elegant class. You can,
if you so wish, use this one single class to handle only form
validation. Or you can use this one single class to send form
data (validated some other way) by email.
If you have a form on your website, you absolutely need some
type of form validation. There are two types: client-side and
server-side.
  -- Client-side: HTML5 does handle some basic form validation
     by limiting (or controlling) user input as the uer is 
     inputting. HTML5 is supported as part of your browser. 
     You also have the option of using a Javascript program
     that also run in the browser. Both HTML5 and Javascript
     provide real-time form validation as the user fills in
     the form and/or as part of the the form submission. The
     only distinction is that HTML5 will not permit form 
     submission unless the form validates as the form designer
     intended.
  -- Server-side: Works after the form is submitted with 
     logic applied as requested by the form designer. Server-
     side valition can work in conjunction to client-side but
     is totally separate and validates on its own rule set.
     Server-side form validation cannot be bypassed or
     manipulated by any client-side hacks. Since creating
     Form Validator (now a component of PHPMailer-FVE), form
     validation has never been compromised by hacks.
Once the form data is validated the data is sent by email to
your inbox. 

New features:
- TLD values up to 18 characters (increased from four to
  accommodate new TLDs) - all form data values that include a
  long TLD domain name such as emails and website URLs
- all rules updated and verified
- one single class to validate form data and send form data
  to your inbox
- single file solution ... PHPMailer-FVE contains its own 
  email transport (no longer supports PHPMailer or
  PHPMailer Pro)
- full i18n multi-language support with additional language
  files ... english is default no with additional files required.
- simplified configuration with one single class instantiation
- three modes:
  1. Form Validate only
  2. Email form data only (validate by other methods)
  3. Form Validate then Email form data.
- support for "plugins" architecture
  - pre-send
  - post-send
- class requires use of namespace