How to receive reply via sms using any amazon service - email

I'm using the amazon SNS(Simple Notification Service) service to publish SMS/Emails but I did not found any way to receive reply from user.
Any user can subscribe or unsubscribe to receive messages but he/she can not send any reply to sender.
Please suggest any idea to implement the logic to receive reply via amazon service.
Thanks in Advance.

SNS is for notifications and you can can't receive the replies.
Instead you can use Simple Email Service (SES) : http://aws.amazon.com/ses/
If you need email template management, mail-merge variables etc (more specific email needs), you can consider third party services like: Mailchimp or Mandril.

Related

How to receive a bounce if we do not want them emailed

I am trying to figure out, once we send an email to X number of recipients through Amazon SES, how are we supposed to receive a bounce message (through Amazon SNS or any other tool) if we do not want them to be emailed to another account?
Using the nested labyrinth of Amazon's documentation, I found out one can have your bounces emailed to a specific account. But let us not take that path! The alternative is Configuring Amazon SNS Notifications for Amazon SES.
Here, Amazon offers two options:
Configuring Notifications Using the Amazon SES Console
Configuring Notifications Using the Amazon SES API
In the latter approach, Amazon introduces three API methods to deal with and writes
You can use these API actions to write a customized front-end
application for notifications.
Does "a customized front-end application for notifications" means setting up a Web server to listen for Bounce and Complaint JSON messages from Amazon?
No, you don't need a webserver to process the bounces, but you do need something to process them.
You tell SES which SNS topic to send the bounces too, and then you can subscribe to that SNS topic with a variety of endpoints of your choosing, getting an email is just one of them.
I find it best to let SES Notify SNS, and then have SNS deliver that message to an SQS queue, and I have a services that polls that queue and processes the bounces against my database.
AWS gives you the tools to be notified about bounces, but you still need to do the work of processing the bounce notifications.
The documentation is fairly clear. SES bounce notifications go to an SNS topic. Once you understand that you just need to look at the SNS documentation to see what methods are available to subscribe to an SNS topic. Currently the following methods of receiving SNS messages are available
Lambda
SQS
HTTP/S
Email
SMS
So you can have a Lambda function that gets called once for every bounce message. You can have bounce messages added to an SQS queue. You can have an HTTP/S endpoint in your application that bounce messages will get posted to. You can have bounce messages emailed to you. You can have bounce messages sent to your phone as SMS messages.

How can I setup an inbound action on an email incoming

I am developing an application, where I have a use case where I advertise a particular email id on a web site. Now, I need people to send me some information and an attachment to that email id . When I receive that email, it should trigger some action in my web application, such that I have both this document and the body of the email available to be in my web application. Then I can parse this information and take appropriate action. Let me know if it is possible to do this kind of email processing using Mandrill or Mailgun or SendGrid, and if yes, can you provide details/documention links on how this can be done.
Thanks
kabir
All three of those services support "inbound" email parsing, which should allow you to process and react to received emails.
Essentially they'll receive and process the email on your behalf, and send you a webhook with normalized data. Docs links below.
SendGrid Inbound Parse Webhooks
Mailgun Inbound Routes API
Mandrill Inbound Email Parsing

How to reply to the email received from AWS SNS service?

I am using AWS SNS Service to send notification. I am able to send notification through eMail. But now I want to get reply on that sent mail from the receiver.
Example:
User A (Sender) using AWS SNS sends eMail to User B (Receiver). User B is getting mail without any issue in their mail account.
Now I want that User B could reply to the mail, sent by User A.
But User B is getting mail from no-reply#sns.amazonaws.com, I can not reply to it.
So is it possible to reply to AWS account from any mail service provider's mail account?
You cannot currently specify a Reply To address for emails sent using Amazon SNS. Emails sent using this service will come from no-reply#sns.amazonaws.com, as you have noticed, and that address cannot be customized either.
Have you looked into Amazon Simple Email Service? It might be a better fit for your use case.

How to provide tenants in SaaS application with their #companyName.application.com specific email services?

In our SaaS application each company (tenant) is given their custom domain like companyName.ourapp.com
We would like to provide some email services like:
Ability to send and receive email notifications from info#companyName.ourapp.com and similar addresses
Ability to create new email accounts in clients' subdamains at runtime, programmatically, when needed. For example we would have separate emails created for each "opening" so that emails sent to this address would be parsed info would be extracted
Similar tasks
For now I just don't even know on where to look and how this could possibly work.
As far as I understand email it should be some kind of custom mail server (SMTP) serving all sub-domains and having API we can use to send emails, list and retrieve messages etc.
Please suggest how it may work and is there any components out there we can use to implement this.
There are three options for this.
Create an email server and programatically configure it to accept or deny the specific accounts. Then use cron to poll via pop3 or imap and download the messages for the account. You can then send them on for the customer or handle them in your web app.
Create a script that is fired by the email server as it receives each email. The script can then handle what to do with the email as it's received.
Use a third party to receive the email via HTTP Post at your app. Using CloudMailin for example would allow you to create a custom authorization filter that would call your app in realtime and determine if the given account exists and messages should be accepted for it.
I wrote a blog post for Rails about receiving incoming email, however the principals would apply to any programming language and framework.

Automatic email from iphone application

I have seen some similar questions here on stack-overflow, but in my application i want when user click on confirm button automatic email go to the email id specified in the form with other details.
How can i implement this.
You could just make a post request to a server and have the server then send the email.
You cannot send emails automatically without sending the user to the mail application. You could however, take advantage of a third party service like Amazon Simple Email Service http://aws.amazon.com/ses/ to send the message.