Can't send messages with empty body
A full-featured email creation and transfer class for PHP
Brought to you by:
coolbru
I update phpmailer from an old version to 5.1 on one of my projects and found that it has a check that throws a "Message body empty" error if I try to send a mail with an empty message body.
I need to send this type of emails (empty message body, but with an attachment) to a fax server otherwise the server will send two fax pages (one with the attachment and one with the message body)
I know it's easy to comment out this check, but putting something in the public interface of this class to allow bypassing that check is better...
Feature added in GitHub