summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric casteleijn <eric@eric-Studio-XPS-9100.(none)>2011-05-23 10:04:46 -0400
committereric casteleijn <eric@eric-Studio-XPS-9100.(none)>2011-05-23 10:04:46 -0400
commitf1bc6af50df4383abc038fd22d26356eb18075bc (patch)
treee5b562687938c2104a3bcd6e7cee5e07ab4bfa15
parenta06239614d6ed2ff7cb04980c49468fdcfc65762 (diff)
Added another way to set the from address automatically when sending mail through msmtp.
-rw-r--r--emacstips.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacstips.mdwn b/emacstips.mdwn
index d3b184e..3be6ae7 100644
--- a/emacstips.mdwn
+++ b/emacstips.mdwn
@@ -250,6 +250,13 @@ With that in place, you need a `.msmtprc` with the accounts configured
for the domains you want to send out using specific SMTP servers and
the rest will go to the default account.
+If you have a hard time getting the above to work for you, as I did,
+it's also possible to add a message-send-mail-hook in your .emacs to
+send the from header explicitly as an argument to msmtp:
+
+(http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP#toc2)
+
+
## <span id="address_completion">Address completion when composing</span>
There are currently two solutions to this: