Android应用开发-直接发送电子邮件,没有任何意图 [英] Android App Development - Send email directly with no Intents
问题描述
任何人都可以建议我如何在不使用Intent或打开其他android应用程序的情况下发送电子邮件。我希望在点击发送按钮后直接发送电子邮件。我必须使用特定的office365电子邮件发送消息。我应该使用一些API还是SMTP等?
Can anyone suggest how I can send an email without using intents or opening another android app. I want the email to be sent directly once I hit the send button. I must use a specific office365 email for sending message. Should I use some API or SMTP etc.?
有没有一种简单的方法可以在我的Android应用程序上应用此功能?
Is there a simple way on how I can apply this feature on my android app?
推荐答案
浏览下面的链接。这是您真正想要的示例
http://www.edumobile.org/android/send-email-on-button-click-without-email-chooser/
Go through this below link. This is the example what you exactly want http://www.edumobile.org/android/send-email-on-button-click-without-email-chooser/
这篇关于Android应用开发-直接发送电子邮件,没有任何意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!