daniel-zahariev / php-aws-ses

PHP classes that interfaces Amazon Simple Email Service
307 stars 100 forks source link

can not send email #55

Closed UMDEVELOPER closed 6 years ago

UMDEVELOPER commented 6 years ago

I have problem in this code write properly but can not send email show no any error.

    $this->load->library('Aws_ses_new/SimpleEmailService'); 
    $this->load->library('Aws_ses_new/SimpleEmailServiceMessage');  
    $this->load->library('Aws_ses_new/SimpleEmailServiceRequest');  
    $ses = new SimpleEmailService('xxxxxxxxx', 'xxxxxxxxx');
    $m = new SimpleEmailServiceMessage();
    $m->addTo('abc@gmail.com');
    $m->setFrom('abc@gmail.com');
    $m->setSubject('Hello, world!');
    $m->setMessageFromString('This is the message body.');
    print_r($ses->sendEmail($m));
daniel-zahariev commented 6 years ago

Hi, did you make sure to verify the email sender? If yes - did you check if you got any errors

UMDEVELOPER commented 6 years ago

ok i have done it

UMDEVELOPER commented 6 years ago

and thanks I want to make login panel for amazon SES for user so i want to credentials with SES so can you help me that case ? in codeigniter form example show in image screenshot_1

daniel-zahariev commented 6 years ago

Hi @UMDEVELOPER, i'm sorry but this is out of the scope of the project.