Menu

#334 Can't send messages with empty body

5.0
closed
nobody
Phpmailer (265)
5
2014-08-12
2009-12-02
Anonymous
No

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...

Discussion

  • Marcus Bointon

    Marcus Bointon - 2013-03-21
    • status: open --> closed
    • milestone: --> 5.0
     
  • Marcus Bointon

    Marcus Bointon - 2013-03-21

    Feature added in GitHub

     

Log in to post a comment.