Skip to content

Signature v4 problem, AWS: [Action Required] Migrate to Signature Version 4 to continue using Amazon SES #85

@benjamin74

Description

@benjamin74

Hello,

I am a bit clueless : I keep receiving emails from AWS telling me that my php-aws-ses install is using version 3:

Your Signature Version 3 requests were identified to be originating from:
- IAM Users: arn:aws:iam::XXXXXXXXXXX:user/YYYYYYYY-php
- IPs: xxx.zzz.xxx.175
- User Agents: SimpleEmailService/php

I've updated my composer packages so I'm now using version 0.9.5 which, according to the documentation, is configured to use signature v4 by default.

Does anyone has any idea of what the issue could be ?

I'm using php-aws-ses in one of the most basic usage and it worked perfectly until now:

require_once 'vendor/autoload.php';
function emailing_sesmail($from, $to, $subject, $body){
        $m = new SimpleEmailServiceMessage();
        $m->addTo($to);
        $m->setFrom($from);
        $m->setSubject($subject);
        $m->setMessageFromString($body);
        // that's the key ID and secret of user php-aws-ses-script inside AWS IAM
        $ses = new SimpleEmailService('XXXXXXXXXXXXXXX', 'ZZZZZZZZZZZZZZZZZZZZZZZZ');
        return print_r($ses->sendEmail($m));
}

Thanks for any idea!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions