Android Question Receive Email from Any Domain at Android App

AndroidMadhu

Active Member
Licensed User
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?
 

sorex

Expert
Licensed User
Longtime User
how will you do that?

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.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
or are you trying to create a pop3 mail client with an external server that receives the mails and you download them from that server?
 
Upvote 0

drgottjr

Expert
Licensed User
Longtime User
you need pop3. with appropriate credentials and handshake you can get mail from any mail server.
pop3
 
Upvote 0

AndroidMadhu

Active Member
Licensed User
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.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User

 
Upvote 0
Top