I am developing one App which will receive email from any domain.
For example I have one domain like x@yz.com. could you please advice how to receive mail in app from the above domain?
mailing is based on mx records so you need a fixed ip (or an ip pool) and port forwarding to your phone where you have an smtp server running.
the problem is when you leave your house and it switches to 4G you have a random ip so your mails will not be delivered.
depending on the external mail settings it might retry to deliver for a few hours, to 2 days or not at all.
May be I posted wrongly..... I wanted to fetch email from an email server[POP3/IMAP] at my android Application.
Is there is any such way to do that ? Or any sample code snippet will be helpful.
The Net library supports FTP, SMTP and POP3 protocols. This library replaces the FTP library. Both regular connections and SSL connections are supported. SMTP - Allows to directly connect to SMTP mail servers and send mails, including Html messages and attachments. POP3 - Allows to directly...