AWS SES Credentials

757 0 0 0

Last Updated : 2024-04-25 08:55:11

When you need to use the email service provided by the AWS, you will have to subscribe to that service called SES, Simple Email Service. and when you need to access an online client to send and receive email message, you will have to use the Amazon WorkMail service. If you want to use the SES SMTP service credentials to send an email message programmatically using PHP, Laravel .. etc application. You will first have to have a username and a password. You can generate a username(Access Key ID) and a password (Secret access Key) from within AWS SES console, then SMTP Settings, then Create My SMTP Credentials button, then a user will be generated for you with the access keys, which will be available only for download this time. Now. You have an Access Key ID, and Secret Access Key. But this is not the password you will need, You have to convert this secret access key to a SMTP Password. To do so, You will have to use the following code snippets in your preferred programming language to generate the password.


  • Set up the user policy in IAM for the SMTP user :
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect":"Allow",
    "Action":["ses:SendEmail", "ses:SendRawEmail"],
    "Resource":"*"
    }
    ]
    }?

    Mohammed Anwar

    Mohammed Anwar

    Experienced technical lead PHP, MySQL and Laravel Developer for 15+ years, with proven ability to develop and create high-quality and optimized web applications. Great ability to build and optimize database design, schema and queries. Versed programing trainer and instructor delivering web courses and helping others to get into the field in a timely manner. Fast and eager learner for new technologies .