From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88958 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.gnus.general Subject: Re: How to change from address while in message buffer? Date: Tue, 7 Jan 2020 06:38:58 +0000 Organization: J4D Network Message-ID: <0100016f7eba55ec-dd0e8be4-534d-47c5-b676-240b20d39580-000000@email.amazonses.com> References: <0100016f7a49e83d-b68757b3-72b5-4410-bfd7-5613a32a174b-000000@email.amazonses.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="76143"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) Cc: ding@gnus.org To: Malcolm Purvis Original-X-From: ding-owner+M37161@lists.math.uh.edu Tue Jan 07 18:18:24 2020 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iosUn-000GGc-Gv for ding-account@gmane.org; Tue, 07 Jan 2020 18:18:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1iosUj-0005iS-I7; Tue, 07 Jan 2020 11:18:17 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from <0100016f7eba55ec-dd0e8be4-534d-47c5-b676-240b20d39580-000000@amazonses.com>) id 1ioiWC-0006Dr-C4 for ding@lists.math.uh.edu; Tue, 07 Jan 2020 00:39:08 -0600 Original-Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from <0100016f7eba55ec-dd0e8be4-534d-47c5-b676-240b20d39580-000000@amazonses.com>) id 1ioiWA-0007iK-Rz for ding@lists.math.uh.edu; Tue, 07 Jan 2020 00:39:08 -0600 Original-Received: from a48-107.smtp-out.amazonses.com ([54.240.48.107]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.92) (envelope-from <0100016f7eba55ec-dd0e8be4-534d-47c5-b676-240b20d39580-000000@amazonses.com>) id 1ioiW4-0002W4-HM for ding@gnus.org; Tue, 07 Jan 2020 07:39:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1578379138; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=TQhPIpKTfPwQyN9diVToa86IkZAfbvfbKBpk3w8aUcM=; b=Fy8Opnkdc6Cfg2XVMovqcdDJB9NRIl/PqO5GSm7ceyJLq/+NEQ+BQnDR11JRRfUU rnocEdr2SljZVs4KKm8Bt4rr8+PdH42IWQHaNWe7NlQ1vlMO5tanVCdWwdYIdA2tr8p LazjDS527slByRyNjMv6P6t0FRD1xltzsFhp2wkc= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1578379138; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=TQhPIpKTfPwQyN9diVToa86IkZAfbvfbKBpk3w8aUcM=; b=QN+snWt7d7uYMYfmzLGXvt0enH3fsHYU+rvRJgBj7C6Pn2S4X4bO8N0zmv8Db/zR D/qUe12p1uKjSqsPtRA7y4mjPm5v4YJiCHb/rkK5BSq+atLO6jYBOvWvev17+bsslta mUEu1CjN4J1DaztHMgczknfHkt37X4qGTRuI4YGc= In-Reply-To: (Malcolm Purvis's message of "Tue, 07 Jan 2020 09:08:40 +1100") X-SES-Outgoing: 2020.01.07-54.240.48.107 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88958 Archived-At: Malcolm Purvis writes: >> I am in message buffer composing an email. In this scenario, how can >> I change the *From* header to something other than my default >> user-mail-address. > > The From header in the message buffer is just plain text, so in the > worst case you can just manually change the address. I have tried this and embarrassed myself a couple of times by sending the email via my personal email address instead of official. > If you split your mail from different addresses into different groups > (say home and work), then you can configure the variable > gnus-posting-styles to set the default From address for each > group, as well as signatures, outgoing SMTP server, etc. Yes. This works fine. I am using this. My only problem is when I am already in *unsent message* buffer and want to change "From:" header value. Regards, -- Pankaj Jangid