Sending email directly from android application - email

I'm trying to send email directly from my android app. I've found this tutorial and implemented it into my app, but it seems it doesn't work for some reason.
I have INTERNET PERMISSION and I've made asynctask for sending, but it still doesn't send any email. I don't have a server, and I don't want to send over intent. I just want this to work like it should with my email client.

Related

How to send email in flutter withouth open a email app?

I'm newest in flutter.
I need help.
In one of the pages of my application, I need to send an email without opening the email application itself.
I'll explain.
I have a bug report page. For example, I need to send an email because a package has not been returned.
After filling out a form with my personal data, I need to automatically send an email.
I tried with url_lanch and mailer but either nothing happens or the gmail app opens (in the android emulator).
Can anyone help me?
use mailer package mailer to send mail. and also can make custom template using http package from the same site.

Send Email Without Showing Compose UI In iOS 7

I have an in-house app that is used by employees. I need functionality included in the app so that an email can be sent to a group email address in an emergency. For this I do not want to have to show the UI and then have to require the user to press send to actually send the email. I am trying to send a pre-written email that sends when a PIN is entered correctly.
I have seen and tried to implement SKPSMTPMessage but this does not seem to work in iOS 7.
If I send the email to an smtp service via a web service I can make this work but if there's an easier way within objective c then I would like to use that way.
Is it possible to send an email in the background in iOS 7+ in the above scenario?

How to start activity from mail default application by link (Android)

i'm new to Android developing and i'm trying to write an app to send/receive encrypted messages through the default email app.
No problem in sending, since it's easy to send cyphertext email through intents.
I'm finding a lot of difficultes in reception: as far as i know, the email app doesn't broadcast any intent for incoming emails, and there's no way for a developer to access the application's database (right?).
So i thought, as i read in a few topics here, to put a DECRYPT link in the builded encrypted mail that should open my application and decrypt the message. I'm trying to implement it, but i'm confused about a few things.
1) Sending a text/html message with a href tag is supposed to build a link in the body of the email. This thing doesn't work. The link is shown as a plain text.
2) Building an intent and putting in the link as
<a href=intent.toUri()>DECRYPT</a>
and then making an intent-filter for my application decrypt activity should work? The intent i sent as link is just broadcasted when the link is clicked?

Sending an email automatically through my iPhone App

I am new to iPhone app development. I have a form that the user can fill out to request additional information about my product. I would like the app to automatically send out the email without launching UI.
I have looked through several posts that have recommended using ASIHTTPRequest to "Post" data. However most of the posts are dated back to 2009. My question is that using Xcode 4 is there another way of accomplishing the same thing without using ASIHTTPRequest?
Thanks
T!
If you want to send emails without the standard mail composer you have to
ask the user for his email address
implement SMTP. And SMTP is more complex than a simple POST to http.
Alternatively you could set up a script on a web server to which you send the mail address you got from the user.

Sending an email from within iOS web app without closing web app and opening mail

Currently when I send a mail message from within an iOS web app (fullscreen from home screen) the web app closes and the mail app opens.
The same thing happens in Color Mail: http://www.apple.com/webapps/productivity/colormail.html. When you send a mail message you are kicked out of the web app.
Is there a way to send a mail message and remain inside the fullscreen web app?
Thanks!
If you want to send an email without using the Apple Mail client (which is basically what you're asking) you'll need to use a web service that support sending email in response to a request.
For example, Amazon's Simple Email Service lets you send email in response to an API query.
However, if what you're after is sending an email message from the user's own account then you unfortunately must exit the app and go into Apple Mail - in much the same way that a mailto: link would do if you used it on a website.
EDIT: IF you were a native app, what you'd be after is the MFMailComposeViewController. It allows you to bring up a standard mail compose interface right within your app.
HOWEVER, since you're not, you're going to have to build your own form interface, and then take the form submission on the web app and send the mail from there.
(Sorry. Didn't read.)