Re: [PATCH] Implement sending mails over TLS in git-send-email.
- From
- Simon Sasburg <simon.sasburg@gmail.com>
- Date
- Oct 31, 2007, 22:04 UTC
- Message-ID
- <981e6de60710311504v666943beve3b87c6a713fb18c@mail.gmail.com>
- In-Reply-To
- <2faad3050710311445l51d1152cs6761803e2f3a77d3@mail.gmail.com>
Show 6 quoted lines
> Secondly, Net::SMTP::SSL has no problem connecting to gmail - it does > everything Net::SMTP::TLS does and more; you can use all of the > options of IO::Socket::SSL with it. A common problem seems to be not > having Authen::SASL installed (this is required to authenticate with > gmail) - the one thing Net::SMTP::TLS *does* do is auth without using > that module.
Ah, yes, i got the Authen::SASL errors at first, but even after resolving all missing module dependencies, the --smpt-ssl still did not work for me, so i started looking at other solutions and found Net::SMTP::TLS.
> In other words, this patch should be entirely unnecessary if you have > Authen::SASL installed - could you try this? (I've checked for myself, > git-send-email sends me mail fine via gmail without this patch)
Well, it fails here, maybe maybe you can show me exactly what you did (configuration/parameters etc)?
This is what i do now:
> git-send-email testfile.patch -to simon.sasburg@gmail.com --chain-reply-to --smtp-server smtp.gmail.com --smtp-user simon.sasburg --smtp-pass secret --smtp-ssl --smtp-server-port 587
and it fails, while the same line using --smtp-tls instead of --smtp-ssl with my patch applied works.
What am i missing?