Solved Amazon AWS SES Email (IMAP/SMTP) configuration
-
Hello guys, i've installed UVdesk for the first time and tried to configure SMTP and IMAP wiht my AWS SES (Simple Email Service) but when i try to set the host, email and password keeps telling me that the inbox doesn't exist.
Is there a way to configure AWS SES?
Best regards,
Camilo T -
@CamiloTirado Hi, what settings are you using?
What are you inserting in UVdesk for configure the SMTP?Take a look at the guide: https://www.uvdesk.com/en/blog/setup-mailbox-uvdesk-open-source-helpdesk/
-
Hi @peopleinside , thanks for your reply, to configure the SMTP i've followed the same guide, i'm using this settings:
and in the IMAP settings i'm using this:
Of course i'm using the email and password of my account, but when i run the manual fetch for example to get all the emails as tickets, it keep saying that my inbox doesn't exist.
-
@CamiloTirado on the host you may not need to use something like this: {domain.ext:993/imap/ssl}INBOX as the guide I mentioned explain?
-
hi @peopleinside , already tried that and doesn't work either, maybe UVdesk doesn't support SES Aws email?
-
@CamiloTirado I dont know because I don't use SES Aws email. You may try to configure another different email address not SES Aws email for see if you are able to make it work.
-
You can directly replace or add you config in backend in swiftmailer.yaml (under config/packages) file as done in below screenshot.
mailer_0704 - it will be the default mailer by which all mails will be sent https://prnt.sc/x9fj27
https://prnt.sc/x9fmdzAnd make a try if it works for you !!
-
I created a manual configuration similar to the one listed above by @Sanjeev. This works fine for sending on the command line
php bin/console swiftmailer:email: send
However I get no emails when using the UVdesk interface and I'm not seeing anything in the logs that tells me what's going on. Amazon Web Services (AWS) Simple Email Server is a requirement for us to deploy customer-facing solutions, so using Gmail for outgoing email won't work for us. I'm guessing it is something simple i'm overlooking. I've read about AWS SES requiring base64, so perhaps there's a config i need to do to force this, though i wouldn't think that would be an issue since I can send email through swiftmailer just fine using the command line.
-
Currently we have used swift mailer normal email sending process in code as we are sending email using this.
For Amazon AWS you need to update some code for the same to send using Amazon AWS here.
You can check below link for help.
https://stackoverflow.com/questions/69093958/error-while-sending-email-from-symfony-mailer-via-aws-ses -
Does the following command not use swiftmailer normal email sending?
php bin/console swiftmailer:email:send
When using this with my configuration everything works using AWS SES so it doesn't make sense that I'd need to do anything special unless i need to reformat like 464 as you describe. I'll try to determine how to do that. The reference link you sent is fairly vague and I'm not a php developer so I'll play with this a bit more but so far (I'm guessing I just need to fix which fields are passed such as the sender), I keep getting failures when I clear cache so I'm concerned I'm breaking other things.