AWS sendCustomVerificationEmail not sending email - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Monday, November 13, 2023

AWS sendCustomVerificationEmail not sending email

I am trying to send custom verificacion email using PHP and Amazon SDK (sendCustomVerificationEmail)

$data = $ses->sendCustomVerificationEmail(['EmailAddress' => $verifyEmail, 'TemplateName' => 'TemplateName']);print_r($data);

But user in $verifyEmail never receives verificacion email.

What I got is

Aws\Result Object
(
    [data:Aws\Result:private] => Array
        (
            [MessageId] => 0100018bc4d420b2-10b031c0-4256-48ce-b301-0f248ac9b268-000000
            [@metadata] => Array
                (
                    [statusCode] => 200
                    [effectiveUri] => https://email.us-east-1.amazonaws.com
                    [headers] => Array
                        (
                            [date] => Sun, 12 Nov 2023 18:38:38 GMT
                            [content-type] => text/xml
                            [content-length] => 398
                            [connection] => keep-alive
                            [x-amzn-requestid] => 96c83696-4393-4c73-bbab-60596beadf3d
                        )

                    [transferStats] => Array
                        (
                            [http] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                )

        )

    [monitoringEvents:Aws\Result:private] => Array
        (
        )

)

status 200 indicates that all is Ok. But user never receives verificacion email. I tried with several addresses - no one is working.

It is strange - everything was working as expected, but around 1 month ago - seems stop to work.

I am using PHP and latest AWS SDK for PHP.



source https://stackoverflow.com/questions/77470188/aws-sendcustomverificationemail-not-sending-email

No comments:

Post a Comment