[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: I need directions/help on how to use curl with gmail smtp and OAuth2
From:       ToddAndMargo via users <users () lists ! fedoraproject ! org>
Date:       2020-03-18 14:24:04
Message-ID: b0907192-ad3b-79f2-5823-d83a3a44df53 () zoho ! com
[Download RAW message or body]

On 2020-03-18 06:50, T.C. Hollingsworth wrote:
> 
> 
> On Wed, Mar 18, 2020, 2:44 AM ToddAndMargo via users 
> <users@lists.fedoraproject.org <mailto:users@lists.fedoraproject.org>> 
> wrote:
> 
> 
>     $ cat mail.txt | curl -vvv smtp://smtp.gmail.com:465 --mail-from
>     "xxxx@gmail.com" --mail-rcpt "yyyy@zoho.com" --ssl -u
>     xxxx@gmail.com:'zzzz' -oauth2-bearer 'big long thing'
> 
> 
> Port 465 is SMTPS (SMTP over Explicit TLS). Use 
> smtps://smtp.gmail.com:465 <http://smtp.gmail.com:465> or 
> smtp://smtp.gmail.com:587 <http://smtp.gmail.com:587> for SMTP with 
> implicit TLS.

smpts with 465 and smtp with 587 both give
535-5.7.8 Username and Password not accepted.

:'(

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic