[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can I set multi smtp account in Gnus?
From: |
Richard Riley |
Subject: |
Re: Can I set multi smtp account in Gnus? |
Date: |
Wed, 26 Aug 2009 08:38:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
"Mark T.B. Carroll" <mtbc@ixod.org> writes:
> Water Lin <WaterLin@ymail.com> writes:
>
>> Here is my question, I want to get emails from more than one accounts,
>
> That works fine for me with multiple servers listed in my mail-sources
> variable.
>
>> and I also want to send emails according to my accounts.
>
> I switch e-mail address (From: and Organization: lines) but still send
> the messages out through only one server. Do you want to actually use
> multiple outgoing servers?
>
> Mark
See here:
http://richardriley.net/projects/emacs/dotemacs#sec-2
Search for msmtp-change-smtp.
Then you can configure msmtp as per its manual.
e.g something like in .msmtprc
,----
| defaults
| host smtp.gmail.com
| port 587
| auth on
| tls on
| tls_certcheck off
| logfile /tmp/msmtp.log
|
| account emai
| user email1@gmail.com
| password pwd1
| from email1@gmail.com
`----
where account matched your "from" - maybe thats also configured from
gnus posting styles.