Answer the question
In order to leave comments, you need to log in
Base64_decode how to fix bugs?
The point is simple.
I take the message from the mail via imap_open().
$header = imap_header($mbox, $msgno); //Достаю заголовок
$subject = $header->subject;
Answer the question
In order to leave comments, you need to log in
The '=' sign in base64 may be only at the very end, one or two, depending on the end of the triad, or may not be.
Characters '?' there shouldn't be a question.
Based on your line, try to cut off the text between the question marks - in my opinion, they are the ones that separate the desired text.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question