Re: more than one FCC possible?
On Mon, Jun 22, 2015 at 4:02 AM, Michael Tatge tatg...@gmail.com wrote: * On Sun, Jun 21, 2015 06:22PM -0400 Xu Wang (xuwang...@gmail.com) muttered: On Sun, Jun 21, 2015 at 4:22 AM, Michael Tatge tatg...@gmail.com wrote: * On Sat, Jun 20, 2015 11:53PM -0400 Xu Wang (xuwang...@gmail.com) muttered: My goal is to get the message ID from a message I just sent. Why don't you use $sendmail? I like to send my mail through Google's smtp. Would I still be able to do that? Sure why not, the idea is to set $sendmail to a wrapper script that extracts the mid and then hands the message over to whatever transport you'd like to use. Ah that would be nice indeed! But I don't know how to do smtp with Google directly. I just let mutt take care of it. I will think about whether I want to venture down that road. Kind regards, Xu
Re: more than one FCC possible?
* On Sun, Jun 21, 2015 06:22PM -0400 Xu Wang (xuwang...@gmail.com) muttered: On Sun, Jun 21, 2015 at 4:22 AM, Michael Tatge tatg...@gmail.com wrote: * On Sat, Jun 20, 2015 11:53PM -0400 Xu Wang (xuwang...@gmail.com) muttered: My goal is to get the message ID from a message I just sent. Why don't you use $sendmail? I like to send my mail through Google's smtp. Would I still be able to do that? Sure why not, the idea is to set $sendmail to a wrapper script that extracts the mid and then hands the message over to whatever transport you'd like to use. Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
Re: more than one FCC possible?
On Sat, Jun 20, 2015 at 11:53:40PM -0400, Xu Wang wrote: Dear all, My goal is to get the message ID from a message I just sent. One way I am thinking of doing this is copying a message to a temporary file (via FCC) and then getting its message ID with a script. Is this possible? You could use formail. Have a google on 'extract Message-ID' -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X
Re: more than one FCC possible?
On Sun, Jun 21, 2015 at 11:28 PM, Chris Bannister cbannis...@slingshot.co.nz wrote: On Sat, Jun 20, 2015 at 11:53:40PM -0400, Xu Wang wrote: Dear all, My goal is to get the message ID from a message I just sent. One way I am thinking of doing this is copying a message to a temporary file (via FCC) and then getting its message ID with a script. Is this possible? You could use formail. Have a google on 'extract Message-ID' -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X Thank you for the idea Chris. That is indeed my strategy. But to do that I need to have the sent file to get it from. And suppose I have a very large file. I just want the last message ID. As far as I know, formail does not have an efficient way to get the last message-id. Kind regards, Xu
Re: more than one FCC possible?
On Sun, Jun 21, 2015 at 4:22 AM, Michael Tatge tatg...@gmail.com wrote: * On Sat, Jun 20, 2015 11:53PM -0400 Xu Wang (xuwang...@gmail.com) muttered: My goal is to get the message ID from a message I just sent. One way I am thinking of doing this is copying a message to a temporary file (via FCC) and then getting its message ID with a script. Is this possible? Why don't you use $sendmail instead? I like to send my mail through Google's smtp. Would I still be able to do that? Scott
Re: more than one FCC possible?
* On Sat, Jun 20, 2015 11:53PM -0400 Xu Wang (xuwang...@gmail.com) muttered: My goal is to get the message ID from a message I just sent. One way I am thinking of doing this is copying a message to a temporary file (via FCC) and then getting its message ID with a script. Is this possible? Why don't you use $sendmail instead? Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
more than one FCC possible?
Dear all, My goal is to get the message ID from a message I just sent. One way I am thinking of doing this is copying a message to a temporary file (via FCC) and then getting its message ID with a script. Is this possible? I would like to do this instead of setting record because I want to use record for other things (e.g. setting it to a non-local folder). Kind regards, Xu