Thursday December 28 2023
PHP documentation shows that
date("r"), and note that this is equivalent to date("d-M-Y H:i:s O")
will provide an RFC 2822 / RFC 5322 formatted date (as in: Thu, 21 Dec 2000 16:01:07 +0200) ...
That is correct. However, keep in mind that may work when creating the header for an email. I...
Read full article
Wednesday December 27 2023
It's a feature that has been requested for many years ... actually, more than a decade.
It's coming. SMTPMailer will have that feature in the next release. It's implemented in developer mode now and being tested. The next release will have:
IMAP will be added as a transport to send emails
Will...
Read full article
Wednesday December 27 2023
The web server you use has, in essence, only one mail transport protocol. That is SMTP (Simple Mail Transfer Protocol).
Sendmail and Qmail are applications with SMTP email sending capabilities and configuration. Sendmail is now pervasive and widely used. There are still a few servers with Qmail...
Read full article
Wednesday December 27 2023
In less than a two week period:
PHPMailer2 is now PHPMailer Pro
Form2Mail is now PHPMailer-FE
Bounce Mail Handler is now PHPMailer-BMH
https://phpmailer2.com is now https://phpmailer.pro
What drove these changes?
Really simple, I'm ticked. A few years back, the current admin of PHPMailer...
Read full article
Saturday December 16 2023
Yes, there is. It's the next generation, PHPMailer2.
I should know, I was the sole author of the original PHPMailer starting with a major re-write in version 2.0.0 on November 7 2007 – all the way through to version 5.1 in use until at least July 28 2011. Those versions of PHPMailer were...
Read full article
Monday December 11 2023
The new Form2Mail aims to be far more user friendly than previous projects.
An example is how To:, From:, Cc:, and Bcc: are entered. Using To: as an example, most scripts would require you to enter that as:
$mail->RecipientName = 'John Doe';
$mail->RecipientEmail = 'john.doe@domain.com';
In...
Read full article
Monday December 11 2023
The Form2Mail v2 Plugin supports three entry/exit points:
Pre-Send Plugin
Auto Responder Plugin
Post-Send Plugin
All three have access to the same information:
process after fields are checked for required status (Form2Mail does not proceed if any required field is missing)
process after...
Read full article
Sunday December 10 2023
Spoiler alert. Here's what the form setup to process with the Form2Mail class looks like:
if (count($_POST) > 0) {
include_once('assets/mailer/class.Form2Mail.php');
if ( class_exists('codeworxtech\Form2Mail')) {
$f2m = new codeworxtech\Form2Mail();
$f2m->useEnvRpt = true;...
Read full article
Friday December 8 2023
A few days ago I wrote an article and posted code to parse email address lists from an unstructured array into a structured array. You can read it here.
There is also the possibility of parsing an email address list from an "unstructured" string. Here's how to handle that.
Here's what the original...
Read full article
Monday December 4 2023
Much of my programming involves dealing with email transportation from mailing lists or lists generated by clients from databases.
That presents a problem. The lists are unusually unstructured meaning that each email address could be in almost any format – including strings and arrays.
Here's an...
Read full article