PHP Classes

MIME message analyse error in smtp server error email

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  MIME message analyse error in smtp...  >  (Un) Subscribe thread alerts  
Subject:MIME message analyse error in smtp...
Summary:multipart/report message is not well formed
Messages:16
Author:stefano
Date:2024-10-17 14:18:06
 
  1 - 10   11 - 16  

  11. Re: MIME message analyse error in smtp...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2024-11-06 13:57:07 - In reply to message 10 from stefano
Hello Stefano,

Can you save a message pulled from the POP3 server, save it to a file, replace the $message_file variable value by the saved message file name, and then tell me if the result is the same?

  12. Re: MIME message analyse error in smtp...   Reply   Report abuse  
Picture of stefano stefano - 2024-11-07 12:40:34 - In reply to message 11 from Manuel Lemos
Hi Manuel,

according to my tests the behavior is the same;

I created a folder ./tmp and saved a file fail.eml (with the error message 550 of the pop3 server) ..

I used:
$message_file = file_get_contents("./tmp/fail.eml");
........
'Data'=> $message_file,

result: array $results["Data"] is not set, array $results["Response"] is set

then I did the same thing with a file called normal.eml (containing a normal email message) and the result is the opposite of before:
array $results["Data"] is set, array $results["Response"] is not set ...

all this if I understood your request correctly in the sense that I have some doubts about saving the email message ...

Regards

  13. Re: MIME message analyse error in smtp...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2024-11-07 20:00:22 - In reply to message 12 from stefano
Hello Stefano,

Can you share the file with the email message you saved so I can reproduce the issue without accessing your POP3 mailbox?

  14. Re: MIME message analyse error in smtp...   Reply   Report abuse  
Picture of stefano stefano - 2024-11-08 16:12:02 - In reply to message 13 from Manuel Lemos

  15. Re: MIME message analyse error in smtp...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2024-11-08 21:18:22 - In reply to message 14 from stefano
Hello Stefano,

Great. Let me check if I can reproduce this over the weekend.

  16. Re: MIME message analyse error in smtp...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2024-12-16 06:35:41 - In reply to message 8 from stefano
Hello Stefano,

I looked into this. I can confirm that the Data is not set intentionally in the current version, as the Response field is more useful for providing human-readable responses.

Is there a case that it would also be useful for you to have the Data field set?

As for the trim function, can you pass an example string that I can add to the test_parse_addresses.php script to reproduce that problem?

 
  1 - 10   11 - 16