Need to save a copy of email using imap php and then can be open in outlook express
问题 I had IMAP PHP script which is connecting and reading emails from the mail box. What i am looking is that i want to save the email on server disk and name it something like testing.eml file. So when later i down those emails and can be viewed in outlook express. Any thoughts how can this be achieved. Thanks, 回答1: See PHP's IMAP reference; here's the core functionality: $mbox = imap_open ("{localhost:993/imap/ssl}INBOX", "user_id", "password"); $message_count = imap_num_msg($mbox); if (