• Resolved kodiat

    (@kodiat)


    Dear all,
    I use wp-mail.php to post via email and there’s something I don’t understand that if I sent email from GMail, it looks normal (only wrapped after 70 something characters) but if I sent email using Outlook, I always get this equal sign sometimes combined with 20 (=20).
    FYI, my Outlook setting: Plain text, MIME (quoted printable) and using Unicode (UTF-8) for outgoing message.
    My WP version is 2.0.1
    Below is the copy of the posting after I executed wp-mail.php
    Thanks

    Erwin Kodiat

    =========================

    Sebuah toko yang menjual suami baru saja dibuka di kota New York dimana =
    wanita dapat memilih suami.

    Diantara instruksi2 yang ada di pintu masuk terdapat instruksi yang =
    menunjukkan bagaimana aturan main untuk masuk toko tersebut.
    “Kamu hanya dapat mengunjungi toko ini SATU KALI”

    Toko tersebut terdiri dari 6 lantai dimana setiap lantai akan =
    menunjukkan sebuah calon kelompok suami.

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

    (@kodiat)

    I found a temporary workaround, but it works for me:


    $source = array("%3D%32%30", "%3D%0D%0A");
    $target = array(" ", "");
    $content = urldecode(str_replace($source, $target, urlencode($content)));

    I put these lines before this line:


    $post_content = apply_filters('phone_content', $content);

    Thread Starter kodiat

    (@kodiat)

    Above posting has a minor error, the correct one should be:


    $source = array("%3D20", "%3D%0D%0A");
    $target = array(" ", " ");
    $content = urldecode(str_replace($source, $target, urlencode($content)));

    Since ’20’ is not affected by urlencode() command

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-mail.php with equal sign’ is closed to new replies.