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
Open Software License 3.0
9.13k stars 464 forks source link

Error setting up SMTP to sent email #706

Closed Lawvia closed 1 year ago

Lawvia commented 1 year 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 1 year 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 1 year 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