I was thinking of a way to find whether an email in a folder whether it is Sent or Received mails. It may happen through any of the existing protocol (POP3, IMAP).
Check for "Received" header in the email headers. If you have values on the received headers then it is a Sent Email otherwise it is a received email to that mailbox.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment