Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
312 views
in Technique[技术] by (71.8m points)

mutt - How to remove `Autoview` line from bounced emails

I use neomutt. I created a macro to bounce an email message to my wife and then delete the original from my email inbox. Here is the macro from my muttrc:

macro index,pager K "<bounce-message> [email protected]<return><delete-message><sync-mailbox>"

This keybind successfully runs my macro, bounces the email to my wife, and then deletes the original message. However, the bounced emails have this line prepended just before the body of the email:

[-- Autoview using lynx -assume_charset='utf-8' -display_charset=utf-8 -dump '/tmp/neomutt.html' --]

So, in my inbox, a message looks like this:

Date: January 7, 2021
From: [email protected]
To: [email protected]
Subject: Hi

Hi there,
This is my message to you.
Bye

But, the bounced mail looks like this in my wife's inbox:

Date: January 7, 2021
From: [email protected]
To: [email protected]
Subject: Hi

[-- Autoview using lynx -assume_charset='utf-8' -display_charset=utf-8 -dump '/tmp/neomutt.html' --]
Hi there,
This is my message to you.
Bye

QUESTION: How do I remove the annoying Autoview line from the bounced emails?

question from:https://stackoverflow.com/questions/65649126/how-to-remove-autoview-line-from-bounced-emails

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...