Admin notification email doesnt work + UTF8 problem

Home Forums Installation Admin notification email doesnt work + UTF8 problem

This topic contains 3 replies, has 3 voices, and was last updated by  Mike Soja 4 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2537

    dzrihen
    Participant

    Dear Developer,

    Great plugin, i only found 2 problems:
    1. I didn’t get notifications whenever new users sign up. i checked with 2 different active email addresses.

    2. UTF-8 Characters (for example: hebrew) are not shown in the emails – instead it looks like gibberish, something like: @#$@#

    any help would be appreciated!

    • This topic was modified 4 years ago by  dzrihen.
    #2541

    PIE REGISTER
    Keymaster

    Hello,

    For your first issue, Please make sure that
    1.) Admin Notification is ON at Admin Notification page.
    2.) Make sure there is no trailing/leading spaces.
    3.) Try to use gmail address

    For your other issue, we have already worked out in our next release
    which is planned to release by this weekend. However, if you want to
    test it before the release with Hebrew, you may let us know and we will
    glad to send you the nightly build version!

    Thanks

    #2623

    Mike Soja
    Participant

    My Admin Notification emails also were not showing up.

    Some sloppy programming in pie-register.php between lines 1356 and 1370. A lot of mixing of double quotes and single quotes. I think the ultimate problem is the single quotes around one of the carriage return new line thingies. You have to use double quotes.

    Not harmful but still perplexing is the inconsistent uses of concantenation and curly quotes. Pick one or the other and stick with it.

    It also seems that a reliance on CKEditor in other areas of the program is misplaced. CKEditor seems to have stopped working in WordPress 4.0 and is no longer, apparently, supported. The “Replacement Keys” feature is rather unclear, anyway, and would be better implemented as a simple text explanation, ie., use “%user_name%” where you want the user name.

    Otherwise, marvelous job.

    #2624

    Mike Soja
    Participant

    I should have said curly braces.

    Here is how I rewrote it:


    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=UTF-8\r\n";
    if(!empty($from_email) && filter_var($from_email,FILTER_VALIDATE_EMAIL))//Validating From
    $headers .= "From: {$from_name} <{$from_email}>\r\n";

    if(!empty($bcc) && filter_var($bcc,FILTER_VALIDATE_EMAIL))//Validating BCC
    $headers .= "Bcc: {$bcc}\r\n";

    if(!empty($reply_to_email) && filter_var($reply_to_email,FILTER_VALIDATE_EMAIL))//Validating Reply To
    $headers .= "Reply-To: Admin <{$reply_to_email}>\r\n";

    if($reply_to_email)
    $headers .= "Return-Path: {$reply_to_email}\r\n";
    else
    $headers .= "Return-Path: {$from_email}\r\n";

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.