How to use built in email application to send email ?

Put your problem here if it does not fit any of the other categories.

How to use built in email application to send email ?

Postby discover_dileep » Fri Dec 12, 2008 9:55 am

Hi
I wanna to send email from my application .I want to use built in
email application to send mail from my application.So, can any one
provide me some sample code or link for sending email using built in
email application?Any advice on this topic is most welcome.
Please reply.I am waiting for u people to reply.
Thanks
dilu
discover_dileep
Developer
Developer
 
Posts: 33
Joined: Tue Oct 21, 2008 2:19 pm

Top

Re: How to use built in email application to send email ?

Postby Rahul » Mon Dec 15, 2008 11:01 am

If you have a real android device probably you can try out the code mentioned here

OpenIntents


To send an Email through emulator you require some SMTP client library (something like JavaMail), get it working on Android,which is not going to be easy since you dont find much of sample codes

If you want that to work in an emulator may be you can have a look at the source code of k9mail client through SVN and see how they have implemented it



discover_dileep wrote:Hi
I wanna to send email from my application .I want to use built in
email application to send mail from my application.So, can any one
provide me some sample code or link for sending email using built in
email application?Any advice on this topic is most welcome.
Please reply.I am waiting for u people to reply.
Thanks
dilu
Last edited by Rahul on Mon Dec 15, 2008 3:05 pm, edited 1 time in total.
Rahul
Experienced Developer
Experienced Developer
 
Posts: 89
Joined: Wed Oct 01, 2008 11:16 am

Postby discover_dileep » Mon Dec 15, 2008 2:40 pm

Hi Rahul
Do u have any idea that how to use that open intents code in our real application.?
discover_dileep
Developer
Developer
 
Posts: 33
Joined: Tue Oct 21, 2008 2:19 pm

Postby Rahul » Mon Dec 15, 2008 2:54 pm

Hi Dileep,

The problem i face is that i don't have a G1 with me and i am only depending on the Emulator for viewing the output.I tried the open intent code but i too got the same error "No applications can perform this action".And as said earlier it seem to work only on a real device.

I found a recent post which might help you to send mails using open intents.If you have a real android device may be you can try this

Click here




discover_dileep wrote:Hi Rahul
Do u have any idea that how to use that open intents code in our real application.?
Rahul
Experienced Developer
Experienced Developer
 
Posts: 89
Joined: Wed Oct 01, 2008 11:16 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests