Support » Plugin: WP Mail SMTP Plugin - Mail Bank » Plain text and html message

  • Resolved dave82

    (@dave82-1)


    Hi,

    I would like to send mails with html and plain text content too.
    How can I do this?
    In this topic I read that wp_mail accept $message as array, but your plugin goes to error.
    Topic: https://wordpress.stackexchange.com/a/191974
    Error message when I try that solution:
    Warning: rtrim() expects parameter 1 to be string, array given in …/wp-mail-bank/lib/zend/class-mail-bank-zend-mime.php on line 463 Warning: rtrim() expects parameter 1 to be string, array given in …/wp-mail-bank/lib/zend/class-mail-bank-zend-mime.php on line 463

    Thanks,
    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Varun Sharma

    (@contact-banker)

    Hi,

    Unfortunately, we are not able to reproduce the error!

    Please upgrade to 4.0.1 as it is a major update as we have changed the way emails were earlier sent and hope that should automatically fix your issues if any.

    Thanks

    Now, only html or plain text format can send by wp_mail.
    So if I send a html message, there are no AltBody tag.
    Spamassasin showes MIME_HTML_ONLY error messages. (check when you send a html email to mail-tester.com )
    Can I send html and plain text message in the same time with this plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plain text and html message’ is closed to new replies.