Friday February 9 2024
A few assumptions to start. Your installation would have PHPMailer Pro installed off the root of your project as in:
-- assets
-- assets/lib
-- assets/lib/PHPMailer.Pro.php
Using any PHP class starts with loading it. For PHPMailer Pro, that would be:
require "assets/lib/PHPMailer.Pro.php";
Next...
Read full article
Monday February 5 2024
I really pity anyone that has to support PHP's Mail() function. It's one of the most buggy functions and gets worse with each new release of PHP. I've create many scripts over the years that used the mail() function. It was a support nightmare every time a new release of PHP came out. It hasn't...
Read full article
Saturday February 3 2024
I've had a few emails asking how PHPMailer Pro's automated transportation type work.
PHPMailer Pro defaults to using SMTP (un-authenticated). You do not have to specify the server or the port. Although you can specify those, PHPMailer Pro check MX records to identify the server. The port is a...
Read full article
Thursday February 1 2024
Let's clear up context before we start into this subject. Which to use? means: Which to use TO SEND emails ... if you are designing an application that includes receiving emails, this article is not for you. This is specifically about sending emails.
The type of email you are sending is very...
Read full article
Wednesday January 31 2024
A user contacted me asking for some help with using PHPMailer Pro in his unique circumstances. Using the latest version of PHPMailer Pro, he ran into a few issues.
Getting him some help was no problem at all. I responded to all inquiries within minutes of receiving the emails.
The support...
Read full article
Tuesday January 30 2024
I was placed on a medical leave in August of 2023. I stopped driving transit bus at that point, but returned to driving school bus part time in mid August. By mid September, I was unable to continue and resumed the medical leave. The medical leave expired at the end of December.
At that point, I...
Read full article
Monday January 8 2024
DCP Portal and ttCMS were two projects that I actively developed. Both shared #1 top prize in CMS/Portal shoot out for its day.
I long ago abandoned both ... quite frankly, the feature bloat driving that segment was getting out of hand and I didn't want to participate.
Over the years, I...
This blog entry has 2 comments
Read full article
Sunday December 31 2023
Do a search on "PHP Documentation" and you'll get the top project documentation tools, likely the first one in the list will be PHP Documentor – definitely the leading package for creating documentation.
Problem is that every tool available now go well beyond just PHP projects and require a...
Read full article
Sunday December 31 2023
Starting with releases in 2024, all codeworxtech projects will follow a simple coding standard:
PHP Tags
<?php (preferred) or <?=
Character Encoding
PHP code must use UTF-8 without BOM
PHP code lines use \n Unix style line endings
Side-Effects
Classes cause no side-effects (no executable...
Read full article
Sunday December 31 2023
Using classes with namespaces can get a bit daunting ... at least confusing ... when the provider has multiple classes in varying categories.
I'll use my own classes as an example, and show how to simplify the coding.
My full list of classes and their namespaces:
PHPMailer Pro namespace:...
Read full article