Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Inglebard

    (@inglebard)

    For html issue this do the job :

    Replace lines 681,698

    wp_mail($email,$suscribe_title,$suscribe,'From:'.$sender.$this->eol);

    to

    wp_mail($email,$suscribe_title,html_entity_decode($suscribe, ENT_QUOTES, 'UTF-8' ),'From:'.$sender.$this->eol);

    and replace 713

    wp_mail($email,$unsuscribe_title,$unsuscribe,'From:'.$sender.$this->eol);

    to

    wp_mail($email,$unsuscribe_title,html_entity_decode( $unsuscribe, ENT_QUOTES, 'UTF-8' ),'From:'.$sender.$this->eol);

    Maybe do the same on subject is useful.

    For name in mails add this code do the trick in function.php

    add_filter( 'wp_mail_from_name', 'custom_wp_mail_from_name' );
    function custom_wp_mail_from_name( $original_email_from ) {
    	return 'Name';
    }

    So email name is handled by theme and not the extension.
    An override can be useful, what do you think about it ?

    Plugin Author Bastien Ho

    (@bastho)

    Thank you, I’ll try to add it in the next release

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subscribe/unsubscribe mail’ is closed to new replies.