Gomzy
Gomzy

Reputation: 47

Can an app send an email without opening the email interface in Android?

Can an app send an email without opening the email interface? How?

Upvotes: 0

Views: 1656

Answers (3)

marienke
marienke

Reputation: 2475

My answer is probably a few months too late for you Mubix, but maybe someone else can benefit from it. I've seen many people refer to this tutorial which shows how to send an email when a button is clicked within your app.

Upvotes: 0

Mandar Limaye
Mandar Limaye

Reputation: 1910

Simple Answer:

Its pretty easy to write an SMTP client yourself. See a sample here: http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/

Elaborate Answer:

If you want to write a full featured mail client supporting SMTP, POP, IMAP etc then you should look at the android mail client source code:Email app source

Upvotes: 1

SteelBytes
SteelBytes

Reputation: 6965

I'm 98% sure that they only way you can do this is to write your own SMTP client and point it at a SMTP server you have a valid account on (or is open for relay). ie, you can't use the standard email app or gmail to do this.

Upvotes: 0

Related Questions