amazon-ses

Amazon SES reading emails stored in an s3 bucket using java from S3ObjectInputStream object

帅比萌擦擦* 提交于 2019-12-12 10:08:26
问题 I have configured my AWS SES to store all incoming emails to an S3 bucket with Object key Prefix as Email. I have a Java application using with I am trying to read all objects in that bucket and then move them to another so that only the unread emails remain in the bucket. I use the following code: public class FileReadImpl { private static final Logger logger = LoggerFactory.getLogger(FileReadImpl.class); AmazonS3 s3; public void init(String accessKey, String secretKey) { s3 = new

Discourse SES AWS working app.yml file example please

让人想犯罪 __ 提交于 2019-12-12 05:39:40
问题 Can someone please post an AWS SES working app.yml file example? I mean literally copy and paste it. Been fighting this set up for days and its got to be something minor in the config settings. 回答1: DISCOURSE_SMTP_ADDRESS: email-smtp.us-east-1.amazonaws.com DISCOURSE_SMTP_PORT: 587 DISCOURSE_SMTP_DOMAIN: mail.<yourmaildomain>.com DISCOURSE_SMTP_USER_NAME: <SMTP USER NAME> DISCOURSE_SMTP_PASSWORD: <SMTP USER PW> DISCOURSE_SMTP_AUTHENTICATION: "login" DISCOURSE_SMTP_ENABLE_START_TLS: true #

Amazon SES - Hide recipient email addresses

时间秒杀一切 提交于 2019-12-12 03:19:40
问题 I am testing Amazon SES through boto3 python library. When i send emails i see all the recipient addresses. How to hide these ToAddresses of multiple email via Amazon SES ? Following is the part of the code import boto3 client=boto3.client('ses') to_addresses=["**@**","**@**","**@**",...] response = client.send_email( Source=source_email, Destination={ 'ToAddresses': to_addresses }, Message={ 'Subject': { 'Data': subject, 'Charset': encoding }, 'Body': { 'Text': { 'Data': body , 'Charset':

AWS SES from NodeJS not DKIM signed?

∥☆過路亽.° 提交于 2019-12-12 02:18:37
问题 I am using nodemailer to send emails using SES const nodemailer = require('nodemailer') const sesTransport = require('nodemailer-ses-transport') const transporter = nodemailer.createTransport(sesTransport({ accessKeyId: '...', secretAccessKey: '...', region: 'us-east-1' })) When I try to send test emails from AWS SES Dashboard, it works. But when I send via code, it goes into spam. I've already followed the steps to "enable easy DKIM" http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy

Delayed SES Stats Updation

丶灬走出姿态 提交于 2019-12-12 02:17:26
问题 I am noticing AWS SES stats are not being updated in real-time. After sending email, it takes time for sent count to increase on SES Dashboard. Sometimes it takes few minutes and sometimes it takes long. Has anyone also experienced this? Any thoughts? 回答1: On the assumption that the console is simply making a call to a standard API action (rather than using some kind a console-only backend service that is not documented or user-accessible -- such things are not unheard-of, but are pretty rare

PHPMailer not able to send send email with ec2

雨燕双飞 提交于 2019-12-12 00:57:50
问题 I'm using PHPmailer to send account verification mail, I'm using AWS ec2 instance, however, that mailer is working fine in localhost but when I upload that to server emails are not going, at first, i used SendGrid credentials to send emails, failed, then tried Gmail SMTP , failed, and somewhere I read that ec2 can't send emails, then I created SES also, still can't able to send. searched on the web abt that but no answers are fixing my problem, in localhost , in can send emails with the same

How do I pass AWS_ACCESS_KEY_ID for Amazon SES on Elastic Beanstalk?

别说谁变了你拦得住时间么 提交于 2019-12-11 23:19:49
问题 I set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as environment variables in my local computer and it works fine. When I deploy to Elastic Beanstalk, I set the "Environment properties", but they are passed as -D Java system properties, not set as environment variables, and it generates an error. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-cfg-softwaresettings.html?icmpid=docs_elasticbeanstalk_console while the Tomcat platform sets Java system properties that you

Sending mail via aws ses with attachment in node.js

﹥>﹥吖頭↗ 提交于 2019-12-11 18:37:15
问题 Does anyone have some example of how to send email with attachment in node.js with aws ses. That would be really helpful for me. Thank you! 回答1: There is a great mailing library called ˇNodemailerˇ it also has support for the Amazon SES. Here is a small example of how to send e-mail with attachment https://github.com/andris9/Nodemailer/blob/master/examples/example_ses.js. But be aware that Amazon has strange errors when your email sending fails. 来源: https://stackoverflow.com/questions

Sending aws cli SES as a file attachmennt

人走茶凉 提交于 2019-12-11 16:59:25
问题 I am trying to send my file as an attachment in my AWS SES via AWS CLI . Given below is the message.json sample provided by aws documentation { "Data": "From: sender@example.com\nTo: recipient@example.com\nSubject: Test email sent using the AWS CLI (contains an attachment)\nMIME-Version: 1.0\nContent-type: Multipart/Mixed; boundary=\"NextPart\"\n\n--NextPart\nContent-Type: text/plain\n\nThis is the message body.\n\n--NextPart\nContent-Type: text/plain;\nContent-Disposition: attachment;

Retrieving Amazon SES Event Data - retrieve custom data from bounce event

三世轮回 提交于 2019-12-11 14:31:32
问题 When I get the bounce event in the SNS I want to retrieve extra data regarding this email. I only have the messageID. Is there a way to add custom header to SendEmail API? Is there another way to retrieve custom data of specific email? I dont want to write to DB because it causes me performance issues when writing to DB whenever I send an email. I send millions email per day. Thanks! 回答1: Using the bounce object, you already have access to the bounce type , bounce subtype , bounced recipients