From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.help Subject: Multiple "outgoing" email accounts. Date: Thu, 06 Feb 2014 20:30:51 +0000 Message-ID: <87eh3g0yro.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391718735 13670 80.91.229.3 (6 Feb 2014 20:32:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 20:32:15 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 06 21:32:23 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBVcT-0005Tr-4D for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Feb 2014 21:32:21 +0100 Original-Received: from localhost ([::1]:38282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBVcS-0006Gg-Oj for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Feb 2014 15:32:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBVbC-0006CU-RP for help-gnu-emacs@gnu.org; Thu, 06 Feb 2014 15:31:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBVb4-0000ym-9A for help-gnu-emacs@gnu.org; Thu, 06 Feb 2014 15:31:02 -0500 Original-Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:48957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBVb4-0000yh-2Y for help-gnu-emacs@gnu.org; Thu, 06 Feb 2014 15:30:54 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id y10so1637803wgg.8 for ; Thu, 06 Feb 2014 12:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version :content-type; bh=j2rTf0dK/dzqd/WByshsnn8zsNH3yMTyWeusHeOvpdc=; b=f7O+SNlNAYoBa35tMXQQgJTPnv735e/za3FmFHwD0MflER0u8QWVGphBISNl2ICHY5 JQNHoVT55Iup7hlxAdgf5alPoCOTUa+m6uJF6UetrtkCqAaLLvwTYozo5j5nbPf3Pqt5 KuATo/PxCqL0oY+Xldrr7S7wuIruxf1qGSqGddc24LG/OEris0ejh9PcKZk+MzLO40hq eS1Vr5NHHxF7SNeZlt3AUeNziF66w7XBa2/HWC01L6OZePwIcgKRfezTwNlFFk4eNDTl NQI7UA1KmFQLrto6BbRiMWlWG9A2hRYcOb4mhu5pVSy9TpHRZOG8OWjd1zIIBU29RiF8 PqXA== X-Received: by 10.180.187.237 with SMTP id fv13mr1000806wic.26.1391718653213; Thu, 06 Feb 2014 12:30:53 -0800 (PST) Original-Received: from ubuntu ([2.125.179.120]) by mx.google.com with ESMTPSA id 12sm5064180wjm.10.2014.02.06.12.30.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 06 Feb 2014 12:30:52 -0800 (PST) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::235 X-Mailman-Approved-At: Thu, 06 Feb 2014 15:32:10 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95947 Archived-At: 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