]> git.cworth.org Git - notmuch-wiki/blobdiff - emacstips.mdwn
made it look less ugly and added punctuation.
[notmuch-wiki] / emacstips.mdwn
index d3b184edd10cb8613a144dc6e215fa70ddbc6611..cba784967f1c61ff97266f2ccab0744cee6b2bb4 100644 (file)
@@ -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 as described
+[here](http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP#toc2) on the
+emacswiki.
+
+
 ## <span id="address_completion">Address completion when composing</span>
 
 There are currently two solutions to this: