):
with open('%s/%d.eml' % (outdir, message_id), 'wb') as f:
f.write(data[b'RFC822'])
--
Regards,
Peng
On 2/12/21, Derek Martin wrote:
> On Thu, Feb 04, 2021 at 08:42:31AM -0600, Peng Yu wrote:
>> mutt can adjust the charset based on the input. But it seems that
>> EmailMessage from python can not do this automatically. How does mutt
>> choose the charset automatically based o
/plain2html
Traceback (most recent call last):
File "bin/plain2html", line 36, in
from plain2html import settings
ModuleNotFoundError: No module named 'plain2html'
On 2/7/21, Amit Ramon wrote:
> Hello Peng,
>
> While this might not be the answer for how to use pan
Content-Type: text/html; charset=UTF-8
But what does "y^T^U" do?
--
Regards,
Peng
Hi,
I want to remove `To: undisclosed-recipients: ;` in the generated
message when no To or Cc recipients are specified. I don't see an
option to do this in the manual. Could anybody let me know if there is
an option to remove it? Thanks.
http://www.mutt.org/doc/manual/
--
Regards,
Peng
/tmp/mycat.sh
#!/usr/bin/env bash
# vim: set noexpandtab tabstop=2:
cat
--
Regards,
Peng
om
set hostname = gmail.com
set sendmail=/tmp/mycat.sh
$ cat /tmp/mycat.sh
#!/usr/bin/env bash
# vim: set noexpandtab tabstop=2:
cat
--
Regards,
Peng
On Wed, Feb 3, 2021 at 11:23 AM Will Yardley
wrote:
>
> On Wed, Feb 03, 2021 at 08:57:32AM -0600, Peng Yu wrote:
> >
> > When I use mutt to construct an outgoing email, is there a way not to
> > set the message id? Thanks.
>
> Even if Mutt doesn't set one, the
ya...@gmail.com
set hostname = gmail.com
set sendmail=/tmp/mycat.sh
ignore *
$ mutt -F temp.muttrc t...@addr.com <<< abc
Date: Wed, 3 Feb 2021 10:42:55 -0600
From: My name
To: t...@addr.com
Message-ID: <20210203164255.ga66...@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
abc
--
Regards,
Peng
Hi,
When I use mutt to construct an outgoing email, is there a way not to
set the message id? Thanks.
--
Regards,
Peng
ariable.
Does anybody know why there is such a difference?
--
Regards,
Peng
n Wed, Jul 03, 2019 at 03:01:40PM -0500, Peng Yu wrote:
>>In this email that I am sending, the "To:" field of the original
>>message should have "François" as is. Do you know why?
>
> To: =?UTF-8?B?RnJhbsOnb2lz?=
>
> Looks to me like Gmail correctly
In this email that I am sending, the "To:" field of the original
message should have "François" as is. Do you know why?
On 7/3/19, Kevin J. McCarthy wrote:
> On Wed, Jul 03, 2019 at 01:27:02PM -0500, Peng Yu wrote:
>>"François" in the "To:" f
Hi,
I have the following line in the mutt config file.
set send_charset="us-ascii:utf-8"
"François" in the "To:" filed will be encoded as
"=?utf-8?B?RnJhbsOnb2lz?=". Is there a way to just use "François"
without being encoded in the "To:" field? Thanks.
--
Regards,
Peng
a way to disable the appearance
of hostname in message-id? Thanks.
--
Regards,
Peng
Hi, I have the following line in my muttrc. But no signature is
generated in the email (I only tested mutt on the command line).
set signature="~/.signature"
Does anybody know how to debug muttrc to understand why no signature
is included in the generated emails?
--
Regards,
Peng
BTW, I use the follow command to send the email.
mutt -s 'my subject' pengyu...@gmail.com <<< my_body
On Sun, Aug 14, 2016 at 10:40 AM, Peng Yu wrote:
> Hi, I have the following line in my muttrc. But no signature is
> generated in the email (I only tested mutt on t
Hi, I have msmtp set up on my computer. But I don't find how to
specify different accounts to send email from mutt command line. Does
anybody know how to do it? Thanks.
--
Regards,
Peng
Hi, I use the following command to send email with mutt. But
sometimes, I want to inspect the email body constructed by mutt. Is
there a way to do so? Thanks.
echo "This is the message body" | mutt -s "subject of message" --
a...@domain.com
--
Regards,
Peng
On Thu, Mar 26, 2015 at 6:34 PM, Eduardo A. Bustamante López
wrote:
> On Thu, Mar 26, 2015 at 05:59:06PM -0500, Peng Yu wrote:
>> System: Darwin 13.4.0 (x86_64) [using ncurses 5.9]
>> Compile options:
>> -DOMAIN
>> -DEBUG
>> -HOMESPOOL +USE_SETGID +USE_DOTL
e 15: message_cachedir: unknown variable
Error in /Users/py/.muttrc, line 19: smtp_url: unknown variable
Error in /Users/py/.muttrc, line 20: smtp_pass: unknown variable
Error in /Users/py/.muttrc, line 26:
source: errors in /Users/py/.muttrc
Press any key to continue...
--
Regards,
Peng
On Wed, Jan 26, 2011 at 2:59 PM, Michael Elkins wrote:
> On Tue, Jan 25, 2011 at 07:41:23AM -0500, peng shao wrote:
>>
>> Hi, thank you for your attention and here is a little problem: I have
>> two mail accounts, assume they are
>>
>> m...@a.edu
>> m...@b
m...@a.edu, which is certainly
not what I want. I read the header of the forwarded mail I received at
B and it seems everything is fine. If I use thunderbird to reply it
then m...@gmail.com is placed correctly as the receiver. Is there anyway
to let mutt recognize the correct receiver? Thank you.
Peng
gt;
Actually you may find this frustrating sometimes if your internet
connection is not very good
Peng
ot;no mailboxes have new mail". Is there anyway I can tell mutt
to treat IMAP like a normal folder so that the
can find it?
Thank you for any concern.
Peng
for the explanation. Perhaps they
should at least write it into the manual. I just found it in the wiki
http://wiki.mutt.org/?DebugConfig
but I guess some beginners like me may feel really confused about the
order.
Thanks
Peng
I recently found the following interesting phenomenon:
I included the following lines in my muttrc
mailboxes ~/.MuttMail/inbox
set spoolfile=~/.MuttMail/inbox
folder-hook . 'push :default'
folder-hook inbox 'push :inbox'
This is the only four lines in the muttrc because I want to do a clean
test
On Wed, Mar 17, 2010 at 12:01 PM, peng shao wrote:
> Hi. I was trying to set up multiple accounts with pop3+imap combined
> but with no success, so I have to seek help here. Maybe we can discuss
> a simple case at first. Asssume I have two IMAP accounts from gmail
> and yahoo
> T
On Wed, Mar 17, 2010 at 5:17 AM, peng shao wrote:
> Hi, I read from the reference that in the status bar, the variable %f
> indicating the full path of the current mailbox.
> But this is not always the way it should be, if I set default mailbox
> as ~/.mutt/inbox then if I enter m
mailboxes the spool is still
yahoo.
Basically speaking I have already built a basic two-account muttrc. I
just don't how know to set the spoolfile correctly to access sent
folder in both these two accounts.(to add these two folders into
mailboxese variable is not desired for me )
Thank you
Peng
should set your mta to be
aware of m...@foo.bar. I have only had experience on msmtp and if
m...@foobar is not an independent accout in msmtprc then msmtp will use
the default account in msmtp to send the mail out.
Peng
, surprisingly %f now is
imaps://url.com/inbox. But if I try to enter the second imap mailbox
by c-->? then %f now
is again =INBOX. Is it because I set anything wrong? Thanks
Peng
On Tue, Mar 16, 2010 at 10:32 AM, Gary Johnson wrote:
> On 2010-03-16, peng shao wrote:
>> On Tue, Mar 16, 2010 at 7:21 AM, Christian Ebert wrote:
d.
>
> The pipe is allowed here. If you are getting an error message from
> using that rule, the problem is something other t
nize
pipe input as a "url" page and gives out the correct page.
So I guess I need your suggestion to toggle different application to
view html in attachment. I will test it later. Thanks a lot for the
suggestion:)
Peng
On Tue, Mar 16, 2010 at 6:12 AM, peng shao wrote:
> On Tue, Mar 16, 2010 at 5:44 AM, Christian Ebert wrote:
much. But for me there is still some drawback, the
> %{charset} is lost :(
> Is there any possibility if I set autoview as off, and when I read an
> email, I can press a macro
On Tue, Mar 16, 2010 at 5:44 AM, Christian Ebert wrote:
> * peng shao on Tuesday, March 16, 2010 at 05:00:03 -0400
> Because you w3m -dump to standard output -- or in this case to
> Mutt's pager.
>
Okay I see, thanks.
>
> With lynx -dump? I doubt it.
>
I use
text/ht
to mark url as blue even it is loaded from mutt? Thanks.
Peng
hould be using an external address book
> tool like abook for more features.
>
> me
>
Okay I see. thank you for the information.
Peng
alize such function?
Thank you.
Peng
On Wed, Mar 10, 2010 at 9:08 AM, Patrick Shanahan wrote:
> * peng shao [03-10-10 05:42]:
>> Hi everybody, I am using mutt 1.5.20 under gentoo with a
>> combination:mutt, getmail, procmail, msmtp, The following is part of
>> my .muttrc
>>
>> set mbox_type=Mai
ining both NEW and OLD mails?
I think if would be much better if after I type y to display all the
mailboxes I can see the number of unread mails for each mailbox, just
like evolution/thunderbird, so that I can clearly know which mailbox
contains unread mail.
Thanks a lot.
Peng
This will be my last post about this topic. I am not gonna waste more
time on this trivial issue, even if it is important to many of you.
I do not know exactly how many people reply before quoted message but
over 90% of my daily emails are in this style and I can see this kind of
emails all over
I post an email, asking a simple question. What happened?
I suppose that not only Will know the answer. However, I was defined as
a M$ follower, a corrupted newbie. I was then directed to a manner
class.
After I expressed my personal preference. I get more emails, not limited
to what you have
'set sig_on_top' is all I need. Just as Mutt user's manual says: 'It is
strongly recommended that you do not set this variable unless you really
know what you are doing, and are prepared to take some heat from
netiquette guardians.', I was taught some lessons by the guardians. :-)
Thank you.
Bo
The discussion has gone closely to personal attack. I might have
triggered some anti-M$ feelings. :-(
> > I THINK it is better to put the reply BEFORE quoted text and this has
> > nothing to do with M$. It is natural (to me) to put important part (my
> > reply) before non-important part (quote)
body. This also makes an email easier to read if the quote is
long. If mutt does not have this function, it is perfectly fine. But
there is nothing wrong with M$ to provide it!
Bo
On Wed, Sep 04, 2002 at 03:14:55PM -0400, -dsr- wrote:
> Bo Peng wrote:
> > I am sorry but I could not
I am sorry but I could not find this message. Could you tell me its
subject or date? Is it in mutt-user group?
Thanks.
Bo
On Wed, Sep 04, 2002 at 08:16:12PM +0200, Heiko Heil wrote:
> * Bo Peng <[EMAIL PROTECTED]> [09/04/2002 18:01]:
> > Mutt automatically put the signature at
Hi, Everyone,
Mutt automatically put the signature at the end of the email. Can I let
it be put before the quoted text?
Thanks.
--
Bo Peng
Department of Statistics
Rice University
http://www.stat.rice.edu/~bpeng
Office: DH2076, (713) 348-2863
Yes. M-x font-lock-mode solves the problem. Thank you.
Bo
On Tue, Aug 13, 2002 at 08:41:32PM -0700, Vineet Kumar wrote:
> * Bo Peng ([EMAIL PROTECTED]) [020813 19:36]:
> > I am in mal mode now. I can see --:** mutt-. (Mail Fill)--L9-All
> > but no color. Do I need to add
Hi, there
Can I do something like:
if have_X
editor = "gvim -f"
else
editor = "vim"
end
in my .muttrc file?
Thanks.
Bo
I am in mal mode now. I can see --:** mutt-. (Mail Fill)--L9-All
but no color. Do I need to add something else to my .emacs?
Thanks.
Bo
On Tue, Aug 13, 2002 at 07:09:32PM -0700, Andy Davidson wrote:
> On Tue, Aug 13, 2002 at 08:38:47PM -0500, Bo Peng wrote:
> > I am jus
I am just curious ... can I use color in the emacs mail mode?
I am using vim with mutt but I am considering emacs because of some clipboard
problem with vim.
Thanks.
On Tue, Aug 13, 2002 at 07:58:47PM -0400, Walt Mankowski wrote:
> On Tue, Aug 13, 2002 at 02:31:47PM -0700, Andy Davidson wrote:
On Sun, Jul 14, 2002 at 10:08:47PM -0500, Derrick 'dman' Hudson wrote:
> On Sun, Jul 14, 2002 at 09:37:03PM -0400, Daniel J Peng wrote:
> | I just installed Debian woody with Mutt 1.3.28i, and I've discovered a
> | puzzling behavior that wasn't in the Mutt that came
I just installed Debian woody with Mutt 1.3.28i, and I've discovered a
puzzling behavior that wasn't in the Mutt that came with Mandrake 8.0
nor any other Mutt I've ever used. I made a simple muttrc with just
> set from="[EMAIL PROTECTED]"
> set realname="
OK. I suppose that I can not locate a folder with new email using something
like /~N.
> How can I search a string or go to a folder with new emails in file browser?
> The / command seems to be working in a different way as that in index.
> Thanks.
> --
> Bo Peng
> Depart
How can I search a string or go to a folder with new emails in file browser?
The / command seems to be working in a different way as that in index.
Thanks.
--
Bo Peng
Department of Statistics
Rice University
http://www.stat.rice.edu/~bpeng
pst files from Microsoft Outlook from work which I
> want to convert to mbox format. Any pointers on this will be gratefully
> appreciated.
> --
> John P. Verel
> Living Proof That Low Tech Beats High Tech!
--
Bo Peng
Department of Statistics
Rice University
http://www.stat.rice.edu/~bpeng
A macro to toggle all new email as read, if anyone is interested:
macro »·index»··"\Cr"»··»···"T~N\nN\Ct.\n"»·"Mark all new messages as read"
The middle N part is what I was looking for.
> On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wr
t;
> Subject: Re: toggle-read?
> On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wrote:
> > ...and then Bo Peng said...
> > %
> > % Is there a toggle-read function somewhere? Sometimes, I want to toggle emails
> > % as read without really reading them. I
ose addresses near yours or replace the whole thing with
> > NOBODY_AT_THIS_ADDRESS! or some such.
> > % altogether does not sound like a good idea.
> > Agreed, though you could always see it again by looking at all of the
> > headers if you wanted to...
> > %
> > % Thanks.
> > HTH & HAND
Bo Peng
Department of Statistics
Rice University
http://www.stat.rice.edu/~bpeng
those addresses near yours or replace the whole thing with
> NOBODY_AT_THIS_ADDRESS! or some such.
> % altogether does not sound like a good idea.
> Agreed, though you could always see it again by looking at all of the
> headers if you wanted to...
> %
> % Thanks.
> HTH &a
Hello,
Is there a way to let mutt display only one or two lines of "To" field? I
frequently receive emails with several pages of 'To's. Ignoring the To field
altogether does not sound like a good idea.
Thanks.
--
Bo Peng
Department of Statistics
Rice University
http://www.stat.rice.edu/~bpeng
> * Bo Peng <[EMAIL PROTECTED]> [2002-04-01 23:30]:
> > > % Tab key is used to "go to next new message"
> > > % within a mailfolder. Can it jump to new
> > > % messages of another mailfolder like pine does? I
> > > % am sorry if I misse
> Please don't simply reply to any random message and start a new thread.
> Start a new thread with a fresh message instead!
>
I realized my mistake after I sent my email. Sorry.
> % Tab key is used to "go to next new message" within a mailfolder. Can it jump
> % to new messages of another mail
Hello, everyone,
Tab key is used to "go to next new message" within a mailfolder. Can it jump
to new messages of another mailfolder like pine does? I am sorry if I missed
something in the manual.
Thanks.
Bo Peng
Department of Statistics
Rice University
Is there any way to have mutt automatically quote HTML mail when I reply
to it?
My mailcap has text/html; lynx -dump -force_html '%s'; copiousoutput
and it only makes sense for mutt to quote copiousoutput MIME types in
replies...
--
W: You see, me and Willetta have been going on for a few weeks
On Wed, Feb 14, 2001 at 06:01:37AM -0600, Aaron Schrab wrote:
> At 21:04 -0500 13 Feb 2001, Daniel J Peng <[EMAIL PROTECTED]> wrote:
>
> > send-hook . 'set from="[EMAIL PROTECTED]"; set realname="Daniel J Peng"'
> > send-hook '~C @gec
To test a problem, I made a .muttrc with only these two lines from my
usual configuration:
send-hook . 'set from="[EMAIL PROTECTED]"; set realname="Daniel J Peng"'
send-hook '~C @gecko.serc\.rmit\.edu\.au' 'set from="[EMAIL PROTECTED]" ; s
dan/.pgpmime-notcapable"
source "sed -e \"s/^\\(.*\\)$/send-hook '~t \1' 'unset
pgp_create_traditional'/\" < /home/dan/.pgpmime-capable"
# (The escaping of shell commands in .muttrc is miserable, btw).
Is there any better solu
Any ideas how to reset
>this back to default if I choose to reply to the mailing list??
How about adding:
send-hook '! ~t ^some@malinglist\.net$' 'my_hdr From: bla <[EMAIL PROTECTED]>'
to your .muttrc as well?
--
Daniel J. Peng
ommand
> to write it back to the folder. After that you can then quit the
>
> message without sending it.
>
> But the edit-message function in 1.2.5 is much nicer.
Hmm... the 1.0.1 functionality seems more useful to me. Is there any
way to edit and
ll
> mail from my domain.
Try http://www.spambouncer.org/ . I haven't actually gotten around to
installing it, but I've heard it works wonders.
--
Daniel J. Peng
/"\
Harry Browne, Libertarian \ / ASCII Ri
On Mon, Aug 28, 2000 at 10:40:31PM +0530, Suresh Ramasubramanian wrote:
> You seem to be posting directly from your debian box on a uunet dialup - I
> suggest you check out http://www.mail-abuse.org/dul for why this is A Bad Thing
> (tm). Set Exim to relay all mails through uunet's mailserver ins
Are there any mail clients around other than Mutt that sign and
encrypt messages the way Mutt does? Nobody I know is able to read my
signed messages or verify my signatures, and the signatures seem to
cause problems with some mailreaders. For instance, the message body
shows up blank, and what I w
74 matches
Mail list logo