Re: [dev] Commandline Email Advice Request

From: Andy Gozas <andy_AT_gozas.me>
Date: Fri, 25 Nov 2022 08:37:57 +0000

On 2022-11-24 07:42 PM, Michael Partridge wrote:
> Happy Thanksgiving!
> I'm having trouble using `git --send-email` to send a patch in.
>
> I am trying to use this email address (mcp292_AT_nau.edu) with the
> following settings in my global config:
> ```
> [sendemail]
> smtpencryption = tls
> smtpserver = smtp.gmail.com
> smtpuser = mcp292_AT_nau.edu
> smtpserverport = 587
> ```
>
> Source: https://git.wiki.kernel.org/index.php/GitTips#Mail
>
> Although it is an NAU account, it routes to a gmail inbox.
>
> I've also tried the SSL settings from this page:
> https://support.google.com/mail/answer/7126229?authuser=1&visit_id=638049147999726000-3838985679&hl=en&rd=1#zippy=%2Cstep-change-smtp-other-settings-in-your-email-client
>
> What email service do you guys use and how did you set it up for the
> commandline?
>
>
> MCP

I remember having problems when sending a patch using `git --send-email`
which was due to `perl-authen-sasl` (that's what it's called in pacman
on archlinux, not sure what it would be called on your system) package
not being installed. Git send-email relies on that package being there,
but for some reason might not have it as a dependency. Try checking if
you have it.

Also, is there any error message, when `git --send-email` exits, that
you could provide?

---
Kind regards,
Andy Gozas.
Received on Fri Nov 25 2022 - 09:37:57 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 25 2022 - 09:48:08 CET