Unable to send mails from smtp server

Hi Team,

I am getting the below error while sending mail using the SMTP server

Net::SMTPSyntaxError (504 5.7.4 Unrecognized authentication type )

Gitlab-version : 13.4.3

Can someone help me with this issue