Hi everyone!!

I'm searching a lot but didn't found a solution to this:

I have Mutt as my mail reader, IMAP is configured correctly I can see all my mails, but when I want to send a mail via mutt this error shows up:

SMTP session failed: 501 5.5.4 https://support.google.com/mail/?p=helo s78sm412820ywg.26 - gsmtp

I set this on .muttrc:

set smtp_url='smtps://mymail@gmail.com@smtp.gmail.com:465/'
set smtp_pass='mypassword'

Using msmtp mails send correctly but I want to use native smtp support of mutt.

PD: I set this: set smtp_url='smtp://mymail@gmail.com@smtp.gmail.com:587/' and shows the same error

Sorry if my english is a little bad!!