joelcox / codeigniter-amazon-ses Goto Github PK
View Code? Open in Web Editor NEWA CodeIgniter library to interact with Amazon Web Services (AWS) Simple Email Service (SES)
Home Page: http://joelcox.nl
License: MIT License
A CodeIgniter library to interact with Amazon Web Services (AWS) Simple Email Service (SES)
Home Page: http://joelcox.nl
License: MIT License
cURL seems to have issues with certain certificates when the host is already on an SSL connection. This was partially resolved by this pull request, but needs some further investigation.
Suggestion by @ShawnMcCool
Great work here. Might I suggest making this change on line 72 of libraries/amazon_ses.php:
$this->_ci->load->spark('curl/' . $this->_ci->config->item('amazon_ses_curl_spark_version'));
As noted in issue #17.
Amazon AWS SES requires a secure HTTP connection for their API. Currently there is no debug message whether there was a problem with this connection (due to a missing certificate, for example).
I am trying to keep track of amazon ses bounced, complain.
Could any one help me to add the return path in codeigniter-amazon-ses
?
it should be $this->amazon_ses->return_path("[email protected]");
Hey, just letting you know that you have $name = NULL on line 107 but that is the only reference to it.
I have looked at the API spec and this value isn't a parameter. Please Comment somewhere either in the readme or in the library that this does not actually have any effect.
Regards,
Nick
Hello!
Is there a way to send a batch of emails instead of one by one?
It talkes a very long time to loop through and send email from an array one by one.
Thanks!
Amazon just announced support for attachment.
getting below error while using attach method for sending attachment -
Message: Only variables should be passed by reference
Filename: libraries/Amazon_ses.php
Line Number: 204
Sender InvalidClientTokenId The security token included in the request is invalid 3c9c1cfa-65b4-11e4-86be-93a1f715622b
The above error occurs when email is send.
Some of the class properties can me directly loaded from the config file instead of being assigned to the instance first.
Please let me know about unit test
what is unit test library and how can i use it????
I am running into the following error.
The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and
signing method. Consult the service documentation for details.
I'm assuming it relates to the amazon_ses_secret_key and amazon_ses_access_key which I copied from the created smtp user in the ses page. Did I get this right?
Any help would be appreciated.
$this->load->library('Amazon_ses');
$this->amazon_ses->subject($data['title']);
$this->amazon_ses->from($data['sender'], $data['sender_name']);
$this->amazon_ses->to($data['reciever']);
$this->amazon_ses->message($data['body']);
$this->amazon_ses->debug(TRUE);
var_dump( $this->amazon_ses->send(TRUE, $data['reply']) ); die('ses test');
Not sure if this should be posted here or on Phil's but I seem to be getting this error when trying to run this.
Severity: Warning
Message: curl_close(): supplied argument is not a valid cURL handle resource
Filename: libraries/Curl.php
Line Number: 312
Not sure what to do, would appreciate any help that you can give, thanks
added these for function format_query_string ? and initiate the chartset
'Message.Body.Html.Charset' => $this->chartset;
'Message.Body.Text.Charset' => $this->chartset;
'Message.Subject.Charset' => $this->chartset;
All methods that can be used to compile a message should be chainable, this includes
It would be awesome if this library did DKIM signing for you.
Is there a reason why this would be happening?
echo $this->amazon_ses->address_is_verified('[email protected]') ? 'Verified' : 'Not verified';
$this->amazon_ses->to('[email protected]');
$this->amazon_ses->from('[email protected]');
$this->amazon_ses->subject('Open me!');
$this->amazon_ses->message('<strong>Use HTML</strong>');
$this->amazon_ses->debug(TRUE);
print_r( $this->amazon_ses->send() );
Output
Verified
then Sender MessageRejected Email address is not verified. 64caaa79-4c55-11e1-924f-635e9ccede3d
I received the validation email and Amazon said it had been successfully validated.
Add a method to check if a certain email address is verified as an authorized sender by Amazon SES.
Hello,
I get this error when I try to send an email.
Sender MissingAuthenticationToken
This is my CI code.
$this->load->library('amazon_ses');
$this->amazon_ses->to('[email protected]');
$this->amazon_ses->subject('Open me!');
$this->amazon_ses->message('Use HTML');
$this->amazon_ses->debug(TRUE);
print_r( $this->amazon_ses->send() );
What can be wrong? I have entered my AWS credentials in the config file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.