Up to 50 percent off

Notification E-Mail

This topic contains 2 reply and 2 voices, and was last updated by LJA32118 11 years, 5 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
May 26, 2013 at 12:18 am 4209
LJA32118 Is there any way to use in the notification e-mail? Specifically, I would like to center some things and link the %title% with the %permalink%.
May 27, 2013 at 9:52 am 4229
Tareq Hasan Tareq Hasan

The email is actually plaintext, not HTML. So you can’t center the emails in plaintext. You’ve to change the content type by editing the wp_mail directly or by adding a filter to the wp_mail.

May 28, 2013 at 2:56 am 4261
LJA32118 LJA32118

Added the filter:

add_filter('wp_mail_content_type',create_function('', 'return "text/html"; '));

and now it is sending the notifications in html.

Thanks!

Viewing 2 Posts - 1 through 2 (of 2 total)