• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amazon SES

Hello everyone! I need some help with the codeigniter spark "amazon-ses"

I have followed all the directions but now all i get is a SERVER 500 error.

This is what I have:

public function send_email() {


$this->amazon_ses->to('[email protected]');

$this->amazon_ses->subject('open me!');

$this->amazon_ses->message('this is html');


print_r( $this->amazon_ses->send() );


My config in /sparks/amazon-ses/config/amazon_ses.php is the following

&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
* Config for the Amazon Simple Email Service library
* @see ../libraries/Amazon_ses.php
// Amazon credentials
$config['amazon_ses_secret_key'] = 'removed for post';
$config['amazon_ses_access_key'] = 'removed for post';

// Adresses
$config['amazon_ses_from'] = '[email protected]';
$config['amazon_ses_from_name'] = 'homesync';
$config['amazon_ses_reply_to'] = '[email protected]';

// Path to certificate to verify SSL connection (i.e. 'certs/cacert.pem')
$config['amazon_ses_cert_path'] = 'certs/cacert.pem';

// Charset to be used, for example UTF-8, ISO-8859-1 or Shift_JIS. The SMTP
// protocol uses 7-bit ASCII by default
$config['amazon_ses_charset'] = 'UTF-8';

My certs file is sitting in a folder in the root outside the application folder. I have no idea what I'm doing wrong.

A 500 Error is usually something to do with your .htaccess file, in the root of your Web directory.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.