user3932624
user3932624

Reputation: 21

In-app Email Functionality for Hybrid Application

I am building a hybrid mobile application (HTML5, JS, jQuery, CSS3) and need to implement in-app email functionality with following features:

  1. Email feature to only send emails with predefined text and dynamically generated URLs (embedded within the email body)
  2. This email feature should not send email via default email clients (like Gmail for Android). Sender email/ account will be defaulted to a constant value; it will not be user dependent.
  3. Email to ask app-user to enter only the links which are to be send and the email-id of recipient (this feature is implemented as a form in the html page).

I have seen emailComposer However plugin. I am not sure if it routes the request via the default email client of your mobile. Please provide inputs on how to build this functionality.

Upvotes: 0

Views: 367

Answers (1)

teynon
teynon

Reputation: 8288

I could be wrong, but sending an email from a client using a pre-determined from is not likely something you'll be able to do. The reason I suspect this is because sending an email from a device to a mail server without the users direct interaction or personal email address opens the door for malicious applications to spam email servers with content. There may be a way to do it, but it would be much easier to send a request to a web server and have the web server send the email.

Stack Overflow questions seem to have possibly proven me wrong.

How to send email in background in Android ?

Upvotes: 1

Related Questions