Skip to content

FelixEnescu/aws-ses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NET::AWS::SES

NET::AWS::SES with region and Email::MIME support

Email::MIME

NET::AWS::SES can use an Email::MIME object to send email:

my $msg = Email::MIME->new($msg_str_ref);
my $r = $ses->send( $msg );  

Region

Original (version 0.03) NET::AWS::SES uses a US East (Northern Virginia) region hardcoded in SES.pm. Added region support in constructor and respective accesor routine:

use Net::AWS::SES;

my $ses = Net::AWS::SES->new(
    access_key  => '...', 
    secret_key  => '...',
    region      => 'eu-west-1',
);

$reg =  $ses->region;

print "My region is $reg\n";

Region is optional, if not provided default is 'us-east-1'. Current list of Amazon Simple Email Service (Amazon SES) is here: http://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region.

About

NET::AWS::SES with region and Email::MIME support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages