Curl: (67) Login denied

I’m using wp7608. Im trying to send mail by using curl commands

curl --url ‘smtps://’ --ssl-reqd --mail-from ‘’ --mail-rcpt ‘’ --upload-file mail.txt --user ‘’ --insecure

but Im getting error like curl: (67) Login denied.please tell me how to solve this problem

This may because of your Google account security setting, please try below link to turn on less secure access then try again.

Hope it helps.

Thankyou for your reply
I turned on the less secure access,but still Im getting same error