$copiar = copy($message_file, '../../repository/acuses/' . $message);
Warning: copy() [function.copy]: pop3_stream::url_stat is not implemented!
Warning: copy(pop3://0/10) [function.copy]: failed to open stream: "pop3_stream::stream_open" call failed
I need to keep the receipt, and legal issue is not valid if fopen ($ message_file, "r") and save it to another file, or copy the original need. If you can only with fopen, which is the extension of the email?
Manuel Lemos - 2013-04-15 12:24:18 - In reply to message 1 from Silvia
It seems copy is trying to read the file permissions which does not make sense because the message is not a file in a file system.
You can try to use file_get_contents to read the message and file_put_contents to store it in some file you want.
The message is not a file, so it does not have real file name. It does not matter. You just pick a file name that suits your needs. It does not need to have a file name extension. You can use .eml but it should not matter.