git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Implement sending mails over TLS in git-send-email.

From
SSSimon 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?
Previous: BazNext: Baz
Message 3 of 4 in “Implement sending mails over TLS in git-send-email.”
  1. Implement sending mails over TLS in git-send-email.Simon Sasburg, Oct 31, 2007
  2. BazOct 31, 2007
  3. Simon SasburgOct 31, 2007
  4. BazOct 31, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.