divinites / oauth-mail

A light-weight email agent for Sublime Text 3
6 stars 1 forks source link

can't send mail #3

Closed charliesgames closed 8 years ago

charliesgames commented 8 years ago

Hi,

I can view the mail list, but i get this error when trying to send something.

530, b'5.7.0 Must issue a STARTTLS command first. ft4sm24307082wjb.37 - gsmtp') OauthMail >>> failed.

I noticed that it says "OauthMail >>> TLS flag is set to False", where exactly can i set this to true? I'm using gmail.

hopefully you can help, this plugin looks super handy!

Cheers Charlie

divinites commented 8 years ago

There is a tls flag in setting files:

                {
                    "identity": “XXXX@gmail.com",
                    "authentication": "oauth",

                    "parameters": {

                                    "name": "",
                                    "client_id": "",
                                    "client_secret": "",
                                    "tls": "yes",
                                    "default": "yes"
                                  }
                },

adding “tls”: “yes” in the parameter segment will run starttls. If you encounter other problems, please let me know.

best wishes .

在 2016年1月18日,下午3:44,charlie notifications@github.com 写道:

Hi,

I can view the mail list, but i get this error when trying to send something

530, b'570 Must issue a STARTTLS command first ft4sm24307082wjb37 - gsmtp') OauthMail >>> failed

I noticed that it says "OauthMail >>> TLS flag is set to False", where exactly can i set this to true? I'm using gmail

hopefully you can help, this plugin looks super handy!

Cheers Charlie

— Reply to this email directly or view it on GitHub https://github.com/divinites/oauth-mail/issues/3.

charliesgames commented 8 years ago

Wow, that was quick!

Thanks a bunch :)

Cheers Charlie