• Resolved Yordan Soares

    (@yordansoares)


    I need to send messages with an empty body. This is because I only need the attachments for printing purposes and save ink since the message body isn’t necessary.

    The case is that when I try to send a message like this, your plugin return an error like this:

    Is there a way to disable this validation/error?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    No, the body is needed.

    You can add some string like: ‘here is attachment’ or anything else.

    Thread Starter Yordan Soares

    (@yordansoares)

    Thanks for the fast reply @yehudah,

    The case is that if I add any content here, it will print an extra page.

    I already tested with the core WP mail function and other SMTP plugin and works well without content in the body. It would very useful to have a setting (or hook) to disable this validation allowing to send this kind of messages.

    OK, I will add a hook for the next version.
    Hope to release next week.

    Thread Starter Yordan Soares

    (@yordansoares)

    Wow! That will be great!

    Thank you very much ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to send messages with empty body’ is closed to new replies.