简体   繁体   中英

Is it possible to read unread inbox mails in java using mailgun?

Is it possible to read unread inbox mails in java using mailgun? Inbox can be any - gmail or yahoo or hotmail or xyz. And after reading, mails must be marked as read. If possible, please share java code snippet for the same. I don't want to use Maven either.

No.

Mailgun is a PaaS for, mainly, sending emails. It has some functionality regarding receiving messages (useful for bounces and so) but it cannot access any kind of external mail storage or service via IMAP, POP or anything like that.

If you want to access some email inbox you don't need an external service. You can do it with java libraries. The standard library is Javamail .

With that you can, for example, access via IMAP4 a email account.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM