Support » Plugin: SMTP Mailing Queue » Problem with a Forum plugin

  • Hello.

    It seems that using the plugin with wpForo plugin, the emails are sent but not correctly.

    Comparing the two headers (with the plugin enabled and disabled) i see one difference:

    Content Type text/plain with the plugin enabled

    and

    Content Type text/html with the plugin disabled

    Any ideas ?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Birmania

    (@birmania)

    Hi @dimalifragis,

    Thank you for this report, I successfully reproduced your problem !
    This is caused by the fact that wpForo set a wp_mail_content_type filter only during the wp_mail call.
    However, with SMTP Mailing Queue, the original wp_mail (which is applying the content type filter) is called just in time (on queue pop).

    A solution (patch required) could be to stop overriding wp_mail function, hook on phpmailer_init and store its content in the process queue instead of wp_mail parameters.
    However this is a heavy modification and I am wondering if there is a easier way…

    Do you have any better solution @hildende ?

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with a Forum plugin’ is closed to new replies.