开发者

sending an email automaticlly

开发者 https://www.devze.com 2023-03-26 22:31 出处:网络
I have using some examples on this site to create an email class for sending a CSV file out to an email. It works find, sends the file co开发者_JAVA技巧rrectly

I have using some examples on this site to create an email class for sending a CSV file out to an email. It works find, sends the file co开发者_JAVA技巧rrectly

The last line in the code reads

context.startActivity(Intent.createChooser(emailIntent, "Send mail..."));

This as far as I understand opens the email app and lets the user send the email. I was looking to see if it was possible to send the email automatically. ie without going to the email client and not leaving my app

Thanks for your time


sending mail using the javamail-api

see this post

Send auto email programmatically

Sending Email in Android using JavaMail API without using the default/built-in app

0

精彩评论

暂无评论...
验证码 换一张
取 消