William Posted Monday at 05:51 AM Report Posted Monday at 05:51 AM (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! Edited Monday at 06:08 AM by William Quote
DisposableHero Posted Monday at 09:34 AM Report Posted Monday at 09:34 AM Hi @William I don't think that `MAIL_MAILER=postmark` is right. Did you tried MAIL_MAILER=ses there by any chance ? Don't forget to clear application cache for .env changes to be applied. Good luck Quote
William Posted Monday at 10:27 PM Author Report Posted Monday at 10:27 PM Yes, tried SES, but no dice. Somehow, I think the configuration is missing some details. Maybe Nabeel can pitch in when he has a moment..... Quote
DisposableHero Posted Tuesday at 11:27 AM Report Posted Tuesday at 11:27 AM (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 Tuesday at 11:38 AM by DisposableHero Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.