[android-developers] How to send email programmatically?

2011-02-28 Thread kamiomar

how we can send email programmatically?

i try the following code:

http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_(no_Intents)_in_Android

this is work fine with gmail. but if i try this with different smtp
server its not working such like yahoo,hotmail and my company smtp
server.

how this possible?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to send email programmatically?

2008-11-11 Thread Sunit Katkar
Suppose I have an Activity which has couple of text fields - one for the
subject and one for body text.
And there is a simple Button. When user clicks the button, I wish to send
the text in the textfields via email to a predetermined email address.
How can I achieve this?

Sorry for being lazy and not looking up the SDK docs :)

PS: I have configured the EMAIL app on G1 using the Email setup steps, so it
can receive and send email from my email account.

-- 
- Sunit Katkar
http://sunitkatkar.blogspot.com/ - Android OS Tutorials

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---