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,
See PHP's IMAP reference; here's the core functionality:
What happens here: