1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-09 04:39:44 +01:00
home-manager/tests/modules/programs/git/git-with-msmtp-expected.conf
Léo DUBOIN 2b87a11125
git: add realName inside From field
We currently have no way of specifying the sender's name inside the
From field, making a patch sent through `git send-email` appear as
coming from "xxx@domain.com".

In this commit we make this field follow the standard

    realName <email>

format.
2024-05-06 08:17:53 +02:00

15 lines
392 B
Text

[sendemail "hm-account"]
from = "H. M. Test Jr. <hm@example.org>"
smtpEncryption = "tls"
smtpServer = "smtp.example.org"
smtpSslCertPath = "/etc/ssl/certs/ca-certificates.crt"
smtpUser = "home.manager.jr"
[sendemail "hm@example.com"]
envelopeSender = "auto"
from = "H. M. Test <hm@example.com>"
smtpServer = "@msmtp@/bin/msmtp"
[user]
email = "hm@example.com"
name = "H. M. Test"