Hi Kumar, Thank you Kumar,
I know that. But I want to make the pure command line mutt not only send mail, but also save it to server Sent folder. Without redirecting the mail body to mutt command, the upload and send work are done properly by mutt(you have to edit your mail in mutt's ui). But when I redirect my mail content to mutt on the command line, only send job is done. I just want the same behaviour as in previous case. Regards, Renlin On 20 February 2014 23:42, Kumar Appaiah <a.ku...@alumni.iitm.ac.in> wrote: > On Thu, Feb 20, 2014 at 04:24:13PM +0000, 李仁林 wrote: >> I manage to send email and save a copy using Mutt with its own UI. >> >> mutt -s topic receiver >> This will bring up mutt's interface to edit and send mail. It will >> first upload to imap server, and send the email through smtp server. >> There is a Fcc field in the header with "=Sent". >> >> But When I use pure command line to send mail, say: >> >> mutt -s topic receiver < foo >> The mail is successfully sent, but no copy in my server's sent folder. >> I check the debug log, the mail is not uploaded to imap server at all, >> just sent through smtp server. >> >> I have tried to use my_hdr, but Fcc is not supported to be set. >> >> fcc-hook is also tried, not use > > The only way to do this would be to set your Fcc as the server's sent > folder, such as imaps://us...@imap.example.com/SENT, AFAIK. > > Personally, I use offlineimap to periodically sync my local mails with > the server. > > Kumar > -- > Kumar Appaiah -- 天行健,君子以自强不息!