Jump to content

Recommended Posts

Posted (edited)

This time I have a more substantial and complicated question.
We have set up AWS SES to use as SMTP provider.
In the AWS console we have:

Verified identities using the same email as the PhPVMS install.
Verified Domain.
Created SMTP user with credentials. 
Removed the sandbox and went into production.
We went through all the AWS configuration steps properly and sent test emails from within the console successfully.

The PhPVMS config states that to use SES, this is what is needed:

 

SES Configuration

To use SES, set your .env like:

 

MAIL_MAILER=postmark
AWS_ACCESS_KEY_ID='key id'
AWS_SECRET_ACCESS_KEY='access key'
AWS_DEFAULT_REGION='the region if not us-east-1' (We are currently in region us-east-2)

We set it up exactly like the above with our valid & active Access Key & Secret Access Key.

When we try to send an email PhPVMS throws a 500 internal error which points to misconfiguration or missing parameters in the .env file
The LOG also shows a configuration issue.

Are we missing some parameters in the .ENV file that aren't stated in the docs?
What am I failing to understand?

Thanks in advance as always!

Screenshot 2025-02-24 010704.png

Edited by William
Posted (edited)

What is the error after changing mailer to "ses" ? It should be something different compared to using postmark driver. If you've shared your logs with Nabeel it is ok, if not how he can help ?

 

I checked phpvms config for ses, it looks ok though.

Edited by DisposableHero

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...