all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Multiple "outgoing" email accounts.
@ 2014-02-06 20:30 E Sabof
  2014-02-06 20:47 ` Herbert J. Skuhra
  2014-02-07  0:34 ` E Sabof
  0 siblings, 2 replies; 9+ messages in thread
From: E Sabof @ 2014-02-06 20:30 UTC (permalink / raw)
  To: emacs

I want to use different email accounts for sending email. I've attempted to do this by changing the following variables before starting to compose the message.

    user-full-name
    user-mail-address
    mu4e-sent-folder
    mu4e-drafts-folder
    smtpmail-default-smtp-server
    smtpmail-smtp-server
    smtpmail-stream-type
    smtpmail-smtp-service

However, once the first email is sent, all subsequent emails are sent from the same account, even though the "From:" field in the mu4e-compose-mode shows the correct email.

This is the list of variables/values that might be also relevant:

    ;;; * starttls

    (setq starttls-gnutls-program "gnutls-cli")
    (setq starttls-extra-arguments nil)
    (setq starttls-use-gnutls t)

    ;;; * smtpmail

    (setq smtpmail-stream-type 'starttls
          smtpmail-default-smtp-server "smtp.gmail.com"
          smtpmail-smtp-server "smtp.gmail.com"
          smtpmail-smtp-service 587
          )

    ;;; * sendmail

    (setq sendmail-program "/usr/bin/msmtp")
    (setq send-mail-function 'smtpmail-send-it)

    ;;; * message

    (setq message-kill-buffer-on-exit t)
    (setq message-send-mail-function 'smtpmail-send-it)

My emacs-version is below. I don't believe this to be a mu4e specific issue, since I get the same results if I switch to message-mode.

    GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2014-02-05 on ubuntu

Evgeni



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-10 11:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 20:30 Multiple "outgoing" email accounts E Sabof
2014-02-06 20:47 ` Herbert J. Skuhra
2014-02-06 22:02   ` E Sabof
2014-02-07 17:42     ` William G Gardella
     [not found]     ` <mailman.14081.1391794971.10748.help-gnu-emacs@gnu.org>
2014-02-08  4:22       ` N. Jackson
2014-02-08  6:14         ` Eric Abrahamsen
2014-02-10 11:07           ` Rasmus
     [not found]         ` <mailman.14149.1391839983.10748.help-gnu-emacs@gnu.org>
2014-02-08 19:46           ` N. Jackson
2014-02-07  0:34 ` E Sabof

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.