uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.15k stars 449 forks source link

Error setting up SMTP to sent email #706

Closed Lawvia closed 8 months ago

Lawvia commented 8 months ago

Hi, Im trying to setup swift email config to be able to sent email for forgot password.

my SMTP in aws and this the config I put on UVDesk

image

I already set the swift id also in email setting.

But I encountered this error. Where should I Check for the error?

image

I noticed there is no username field also in config swift

komal-sh-27 commented 8 months ago

@Lawvia,

Let us know, which uvdesk version you are using? Also, once you can try with the below solutions:

Disable SSL verification on the server by using this option and make a try.

stream_options:
    ssl:
        verify_peer: false
        verify_peer_name: false
        allow_self_signed: true

image

After that, you will clear the cache of your project run the below command in your project root directory:

$ php bin/console c:c

Now you can reply to tickets and check swift mailer is working or not.

Thanks and Regards, Uvdesk Team

Lawvia commented 8 months ago

Hi, it seems the problem are SMTP username that is non-email format from AWS @Komal-sharma-2712 .

I hardcoded the username from config swiftmailer.yml as the username given by AWS (its random string without email format) and its work.

so maybe the validation on Admin panel cause this, because the Email column is username and I have to put email format