Shortcode and line breaks not rendered in notification emails
-
Hi,
When notification emails are sent the line breaks and shortcode for avatars don’t render as they should. Date, title and URL fields expand as expected, though.
Here’s the relevant source of the received email:
Subject: =?UTF-8?Q?Du_nouveau_sur_***_le_22_d=C3=A9cembre_2014_at_16_h_39_m?= =?UTF-8?Q?in?= X-PHP-Originating-Script: 14826785:class-phpmailer.php Date: Mon, 22 Dec 2014 16:39:04 +0000 From: WordPress <wordpress@***.com> Message-ID: <***@***.com> X-Priority: 3 X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Y'a du nouveau sur ***! Viens lire mon dernier billet publi?? le 22 d??cembre 2014 at 16 h 39 min: ***blog post title*** - https://**** ?€ bient?′t! [avatar user="***" size="thumbnail" align="left" /] *** -xxx-
It looks like HTML content type is properly indicated but line breaks are not translated into HTML code.
The shortcode isn’t intepreted before sending either. This particular shortcode comes from the WP user avatar plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode and line breaks not rendered in notification emails’ is closed to new replies.