Home Forums Plugin Support WP User Frontend Pro Notification E-Mail

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  LJA32118 5 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4209

    LJA32118
    Participant
    Post count: 7

    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%.

    #4229

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #4261

    LJA32118
    Participant
    Post count: 7

    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 3 posts - 1 through 3 (of 3 total)

The topic ‘Notification E-Mail’ is closed to new replies.