-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line breaks aren't coming through #8
Comments
For reference, these emails were generated by the "Contact Form" component in Jetpack. |
It's probably because the emails are being sent as HTML through Mandrill, and don't have an explicit content type header. Can you do a bit of debugging? |
Anyone can confirm if the problem still persists as the proper change was added? |
Hi @espellcaste, I just downloaded the latest version and stumbled on I think the same issue. Because this PR got overwritten by f3de79d#diff-844352cc65e871bf277f934b5ea2ba7bL108. this fix became obsolete. My Gravity Forms first came in as text, now with this filter active, they a displayed properly. |
Thanks for the response @jmslbam, but that doesn't mean all emails are going to be sent as html, when the fix your mention recommends not to? |
I mean, I see the wp_mail_content_type() filter as a "global" change and not as a local change inside a custom function sending a particular email. I've been setting the header as html for now inside my custom functions (sending a particular customized email) but haven't tested yet your suggestion. |
I ran into this today with the password reset link was being displayed as It worked previously and git bisected to this commit. Hope this helps (if related) |
Looking at an email from before I installed the plugin, and one after, the line breaks don't seem to be coming through.
The text was updated successfully, but these errors were encountered: