SMTP Mail issue

[color=#242729][font=Arial,][size=2]I have used YiiMailmessage ( extension in my application and it smtp mail functionality was working fine. Now am move to AWS and mail server SES is using. The simples smtp mail is working but the extension is not working.[/size][/font][/color]

[color=#242729][font=Arial,][size=2]error shown as "Failed to authenticate on SMTP server with username "xxxxxxxxxxxx" using 2 possible authenticators"; [/size][/font][/color]

[color=#242729][font=Arial,][size=2]Note: the credentials are correct and I can even send through the code from[/size][/font][/color]