amazon-ses

How to retrieve response from Amazon SES?

允我心安 提交于 2019-12-10 14:05:00
问题 I have the code to verify email address in Amazon ses <?php $sesClient = SesClient::factory(array( 'key' => 'secret key', 'secret' => 'secret', 'profile' => 'user_name', 'region' => 'us-east-1' )); $result = $sesClient->verifyEmailAddress(array('EmailAddress'=> $email)); ?> My output for $result is like this: object(Guzzle\Service\Resource\Model) { [protected] structure => null [protected] data => array() } I actually got verified email in the email id I have specified. My question is, how to

Does Amazon SES support UTF-8 email addresses?

孤人 提交于 2019-12-10 09:53:27
问题 I tried to find details on this but was unable to find any confirmation. I'm using the PHP SDK and tried the following test (email below is an example but gmail supports UTF-8 characters in emails): Send an email with SES to myemail+✖@gmail.com I actually sent the '✖' as is using the PHP SDK and looking at the query it got encoded (URL) in the body of the POST request: Destination.ToAddresses.member.1=myemail%2B%E2%9C%96%40gmail.com Here is what I got from the SES response: <ErrorResponse

How can set name for source/from attribute on sent emails?

烂漫一生 提交于 2019-12-10 00:51:56
问题 I'm using aws-sdk-for-php and using AmazonSES for sending email. The problem is I want to set the name for the email. Example: 指定 < email_address > Here my source code: $mailer = new \AmazonSES( $aws_config ); $response = $mailer->send_email($mail_data['from'],$mail_data['to']); 回答1: I believe the format you're looking for is as follows: "John Doe" <johndoe@example.com> Reference: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/email-format.html 来源: https://stackoverflow.com/questions

Boto SES - send_raw_email() to multiple recipients

我是研究僧i 提交于 2019-12-09 17:15:49
问题 I'm having big time problems with this issue-- another question on SO that didn't solve it is here: Send Raw Email (with attachment) to Multiple Recipients My code (that works) is simple: def send_amazon_email_with_attachment(html, subject, now, pre): dummy = 'test@example.com' recipients = ['test1@exampl.ecom', 'test2@example.com', 'test3@example.com'] connS3 = S3Connection('IDENTIFICATION','PASSWORD') b = connS3.get_bucket('BUCKET_NAME') key = b.get_key('FILE_NAME.pdf') temp = key.get

PHP mail not being received, appears to be successful — hosted on AWS

女生的网名这么多〃 提交于 2019-12-08 08:08:07
问题 I'm building a standard contact form on a website being hosted on Amazon Web Services. The part that I believe is giving me trouble is as follows: $to = "theCoolestGuy@gmail.com"; $name = trim($_POST['name']); $email = trim($_POST['email']); $message = trim($_POST['message']); $subject = "The best email subject of all time."; $message = "Name: $name \r\n Email: $email \r\n Message: $message"; $headers = "From:" . "veryCoolPerson@gmail.com"; $mailsent = mail($to, $subject, $message, $headers);

Special Characters in Amazon SES

穿精又带淫゛_ 提交于 2019-12-07 05:23:28
问题 I'm using AWS SDK for PHP (https://github.com/aws/aws-sdk-php) to send emails using Amazon SES. Here's the code: <?php require 'vendor/autoload.php'; use Aws\Ses\SesClient; $client = SesClient::factory(array( 'key' => 'XXXXXXXXXXXXXXXX', 'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'region' => 'eu-west-1' )); $result = $client->sendEmail(array( // Source is required 'Source' => 'Télécom Co <email@address.com>', // Destination is required 'Destination' => array( 'ToAddresses' => array('Grégory

Customizing Amazon SNS email notifications

柔情痞子 提交于 2019-12-07 05:09:31
问题 We are developing Custom Commenting System in which email notifications will be send to all the subscribers to the post just like "Disqus". We found Amazon AWS provides Simple Notification System which does a fairly good job of sending mass email notifications and manages subscribers and topics, but I did not found any article on which the format of email notifications can be changed as all the emails have Amazon Branding. Is it possible to send through Amazon SNS? Custom Email without Amazon

Email opened/not tracking from nodejs nodemailer

不打扰是莪最后的温柔 提交于 2019-12-07 05:04:18
问题 What I know I want to implement the email opened/not tracking in one of my websites. after searching i found that email-opened/not tracking is done by sending an embedded image along with email(typically 1 px transparent). when some one opens the email and if they allow images then we get a req for the image and we track that. what i am using to achieve what i know I am using MEAN stack for the project and nodemailer for sending emails with amazon ses as sending service. Problem I am able to

Do I get Amazon SES Free-Tier Pricing when I send emails from Heroku?

柔情痞子 提交于 2019-12-07 01:24:39
问题 According to the Amazon SES Pricing: Pricing Details: AWS Free Usage Tier, If you call Amazon SES from an Amazon EC2 instance or through Elastic Beanstalk, you can send up to 62,000 email messages per month at no charge. Is this also true if I call Amazon SES from my Heroku app, since it runs on an Amazon EC2 instance? 回答1: I emailed this question to support@heroku.com, and in less than 10 minutes, they replied: Unfortunately no. However, we do have 3rd party add-ons that offer mail sending,

Why does Amazon EC2 limit port 25? [closed]

江枫思渺然 提交于 2019-12-06 21:59:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . It says here... Amazon EC2 imposes default sending limits on email sent via port 25 and throttles outbound connections if you attempt to exceed those limits. To remove these limits, submit a Request to Remove Email Sending Limitations. You can also connect to Amazon SES via port 465 or port 587, neither of which