Php email body decoding to plain

前端 未结 2 869
后悔当初
后悔当初 2021-01-05 11:05

I\'m tying extract some content of some equal emails with php but I can\'t.

With that:

$body = imap_body($imap_o, $email_n);

I get:

2条回答
  •  不知归路
    2021-01-05 11:55

    and maybe you could set the file encoding. in dw, ctrl+j, title encoding settings, utf8 without bom. or notepad2, file > encoding > utf8

提交回复
热议问题