Coder Social home page Coder Social logo

codeigniter-amazon-ses's People

Contributors

bhartard avatar fborraccetti avatar joelcox avatar stephenfrank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-amazon-ses's Issues

Conflicting certificates

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.

Specify Spark version cURL

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'));

Better SSL certificate handling

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).

Return path header

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]");

function from takes $name as argument but does nothing with it

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

Batch send

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!

Attachment sending issue

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

Error on sending mail

Sender InvalidClientTokenId The security token included in the request is invalid 3c9c1cfa-65b4-11e4-86be-93a1f715622b

The above error occurs when email is send.

Unit Test

Please let me know about unit test

what is unit test library and how can i use it????

SignatureDoesNotMatch error

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.

Amazon ses stoped working, before it work.

$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');

cURL issue

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.

A PHP Error was encountered

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

adding the chartset ?

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;

Make all standard methods chainable

All methods that can be used to compile a message should be chainable, this includes

  • Amazon_ses::from()
  • Amazon_ses::to()
  • Amazon_ses::cc()
  • Amazon_ses::bbc()
  • Amazon_ses::subject()
  • Amazon_ses::message()
  • Amazon_ses::alt_message()

Add DKIM support

It would be awesome if this library did DKIM signing for you.

Contradicting Email Validation

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.

Sender MissingAuthenticationToken

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.