amazon-ses

Signing emails with DKIM in Node.js

孤街浪徒 提交于 2019-11-29 19:35:26
问题 I'm writing a Nodejs app that needs to be able to send email. So far, I've used Postfix in conjunction with a Nodejs module called Nodemailer to send my email through Amazon SES. Postfix has been handling the DKIM signing, but now I wish to get rid of postfix and just use Nodemailer to send emails through Amazon SES. My only problem now is finding a way to sign emails within Nodejs. I've thought of running a opendkim command using "exec" in node but haven't been able to figure that out. From

AWS SES S3 process inbound email

走远了吗. 提交于 2019-11-29 14:55:15
问题 I'm working on a publish by email system based on AWS SES. For all incoming emails I've set routing to save messages in an S3 bucket so I can asynchronously process them. The problem I have is that the messages are saved in the S3 bucket in a raw format: headers, email body, etc + the encrypted attachment (a huge string) - all in a single file. Is there a way to break the email message apart form the attachment and save both in separate files at AWS SES level? I'm trying to get the data in

aws: ses with attach files

橙三吉。 提交于 2019-11-29 08:44:34
I use Laravel 4 framework with AWS sdk for SES. I am able to send regular emails using sendEmail function. I want to be able to attach files to the emails, the problem is that I can't find how to do it. is it even possible to use sendEmail function to attach files or I must use send_raw_email function? (how to do this?) this how I use SES: $msg['Source'] = Config::get('mail.mailSource'); $msg['Destination']['ToAddresses'][] = $_GET['email']; $msg['Message']['Subject']['Data'] = "bla bla"; $msg['Message']['Body']['Text']['Data'] = 'bla bla'; $msg['Message']['Body']['Html']['Data'] = 'bla bla';

How to add Cc and Bcc in Amazon SES SendRawEmail?

戏子无情 提交于 2019-11-29 07:20:53
How to add the list of Cc and Bcc recipients in sendrawemail (java). I'm just adding all the recipients to one list and sending the mail. There is no separate method to set Cc and Bcc for SendRawEmailRequest. Is there any way to set object of Destination type? List<String> receipients = new ArrayList<String>(); receipients.addAll(mailToRecipients); receipients.addAll(mailCcRecipients); receipients.addAll(mailBccRecipients); SendRawEmailRequest rawEmailRequest = new SendRawEmailRequest(rawMessage).withDestinations(receipients); Regarding SendRawEmail , you should be able to differentiate To, Cc

Post problems with Indy TIdHTTP

岁酱吖の 提交于 2019-11-29 03:06:35
问题 I am having issues posting to Amazon's SES Service using Indy's TIdHTTP. Here is an example of the code i am using: procedure TMainFrm.btnAmazonSESClick(Sender: TObject); var SSLHandler: TIdSSLIOHandlerSocket; HttpClient: TIdHTTP; Params: TStringStream; begin SSLHandler := TIdSSLIOHandlerSocket.Create(Self); HttpClient := TIdHTTP.Create(Self); Params := TStringStream.create(''); try with SSLHandler do SSLOptions.Method := sslvSSLv3 with HttpClient do begin IOHandler := SSLHandler;

How to configure Spring JavaMailSender for SES using SMTP?

流过昼夜 提交于 2019-11-29 02:29:26
问题 We are trying to configure Spring JavaMailSender to work with Amazon's SES service using SMTP, but we are getting this error: javax.mail.MessagingException: Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 465, response: -1 This is our configuration: <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host" value="email-smtp.us-east-1.amazonaws.com" /> <property name="port" value="465" /> <property name="username" value=

Send emails from AWS EC2 instance (SES mandatory?)

和自甴很熟 提交于 2019-11-28 07:49:48
I write this post just to see if I can get some clarifications regarding email sending concepts in an AWS EC2 instance. This is related with this other post Rails does not send emails on AWS I´m developing a Rails application that sends emails to customers (such as confirmation or information emails). I dont know exactly which email service is using Rails. I didn´t install any particular gem. But the emails are been sent perfectly in development environment (Ubuntu). When I deploy to my production environment (AWS EC2 instance). This functionality is not working. You can see the error details

aws: ses with attach files

天大地大妈咪最大 提交于 2019-11-28 02:03:46
问题 I use Laravel 4 framework with AWS sdk for SES. I am able to send regular emails using sendEmail function. I want to be able to attach files to the emails, the problem is that I can't find how to do it. is it even possible to use sendEmail function to attach files or I must use send_raw_email function? (how to do this?) this how I use SES: $msg['Source'] = Config::get('mail.mailSource'); $msg['Destination']['ToAddresses'][] = $_GET['email']; $msg['Message']['Subject']['Data'] = "bla bla";

How to add Cc and Bcc in Amazon SES SendRawEmail?

一世执手 提交于 2019-11-28 00:52:27
问题 How to add the list of Cc and Bcc recipients in sendrawemail (java). I'm just adding all the recipients to one list and sending the mail. There is no separate method to set Cc and Bcc for SendRawEmailRequest. Is there any way to set object of Destination type? List<String> receipients = new ArrayList<String>(); receipients.addAll(mailToRecipients); receipients.addAll(mailCcRecipients); receipients.addAll(mailBccRecipients); SendRawEmailRequest rawEmailRequest = new SendRawEmailRequest

AWS EC2 email sending limit when using third party smtp server

我的未来我决定 提交于 2019-11-28 00:09:21
Are there any limits on the number of emails I can send from an EC2 instances when I am using a third party SMTP server to send out emails ? I use the EC2 instance to call the client's smtp server. Thanks Santhosh Yes, if you are connecting to the third-party server over TCP port 25, there is a limit imposed by the EC2 infrastructure, as an anti-spam measure. You can request that this restriction be lifted, or, the simplest and arguably most correct solution, connect to the server on port 587 (SMTP-MSA) instead of 25 (SMTP-MTA). (The third party mail server should support it unless they really