cancel
Showing results for 
Search instead for 
Did you mean: 

read date from an email using sender mail adapter.

0 Kudos

Hi All,

I am working on a scenario, which reads emails from mail box using POP3 protocol and Mail adapter. How to get the mail attributes like received date? I have to take some decisions based on that field.

Also can we tell to move that mail to different folder in that mail box after successfully read? it is like archiving folder in that mail box.

Regards,

Hari

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190624
Active Contributor
0 Kudos

Hi Hari,

  • You use IMAP4 (Internet Message Access Protocol) to retrieve e-mails from a folder of an e-mail server.
  • You use POP3 (Post Office Protocol Version 3) to retrieve e-mails from an e-mail server.


AFAIK,  you have to use IMAP4 protocol for moving email to another folder are reading email successfully. And i don't think POP3 will allow this functionality.


Regarding email date , If you maintain Message protocol as XIPAYLOAD you will receive all header details(Subject , TO ,FROM ,CC,DATE ,etc ) in your payload.


Thanks

Hari.