Hi,
In case you''d want to always have a given address CCed or BBCed, here
is a
patch that applies to current sup trunk. It adds a "cc" and
"bcc" variable
in the account configuration. Edit your ~/.sup/config.yaml and add bcc and
cc options. These options are per account.
When in compose and reply mode, sup then automatically adds these headers.
Current limitation includes a single address per header, could be probably
extended to a list of addresses...
Feel free to make any comment if you wish so.
--
Pierre.
:edit_signature: false
:accounts:
:default:
:name: John Doe
:alternates:
- john.doe at internet.com
:email: john at doe.com
:signature: /home/john/.signature
:sendmail: /usr/sbin/sendmail -oem -ti
:bcc: john at home.net
:cc: john at work.com
--
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/sup-talk/attachments/20071014/ef45c5e2/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cc_bcc_path.diff
Type: application/octet-stream
Size: 2928 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/sup-talk/attachments/20071014/ef45c5e2/attachment.obj
Hi William, maybe you came accross my patch, but I don''t know what you think about integrating it to the trunk or not. Maybe it''s not near enough in your TODO, too :) -- Pierre. On 10/14/07, Pierre Baillet <pierre at baillet.name> wrote:> > Hi, > > In case you''d want to always have a given address CCed or BBCed, here is a > patch that applies to current sup trunk. It adds a "cc" and "bcc" variable > in the account configuration. Edit your ~/.sup/config.yaml and add bcc and > cc options. These options are per account. > > When in compose and reply mode, sup then automatically adds these headers. > Current limitation includes a single address per header, could be probably > extended to a list of addresses... > > Feel free to make any comment if you wish so. > -- > Pierre. > > > :edit_signature: false > :accounts: > :default: > :name: John Doe > :alternates: > - john.doe at internet.com > :email: john at doe.com > :signature: /home/john/.signature > :sendmail: /usr/sbin/sendmail -oem -ti > :bcc: john at home.net > :cc: john at work.com > > -- > Pierre Baillet <pierre at baillet.name> >-- Pierre Baillet <pierre at baillet.name> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071031/9d21e900/attachment.html
Hi Pierre, Sorry for taking so long to review this. Other patch submitters, don''t worry---I''m going through them one by one and nothing will be ignored! Excerpts from Pierre Baillet''s message of Wed Oct 31 01:42:58 -0700 2007:> maybe you came accross my patch, but I don''t know what you think about > integrating it to the trunk or not. Maybe it''s not near enough in your > TODO, too :)I like this functionality. But, instead of another set of configuration options, I would rather see a before-edit hook, which would allow for auto-filling cc/bcc programmatically and for all sorts of other fun stuff. Would you be interested in submitting a patch for that instead? Marcus just submitted a before-add hook which you can probably use as a reference. What do you think? -- William <wmorgan-sup at masanjin.net>
Hi William and all :) I''ll have a look into Marcus patch and see if I can use it to make the same functionality. Thanks for the idea ! -- Pierre. On 11/2/07, William Morgan <wmorgan-sup at masanjin.net> wrote:> > Hi Pierre, > > Sorry for taking so long to review this. Other patch submitters, don''t > worry---I''m going through them one by one and nothing will be ignored! > > Excerpts from Pierre Baillet''s message of Wed Oct 31 01:42:58 -0700 2007: > > maybe you came accross my patch, but I don''t know what you think about > > integrating it to the trunk or not. Maybe it''s not near enough in your > > TODO, too :) > > I like this functionality. But, instead of another set of configuration > options, I would rather see a before-edit hook, which would allow for > auto-filling cc/bcc programmatically and for all sorts of other fun > stuff. Would you be interested in submitting a patch for that instead? > > Marcus just submitted a before-add hook which you can probably use as a > reference. > > What do you think? > > -- > William <wmorgan-sup at masanjin.net> > _______________________________________________ > sup-talk mailing list > sup-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk >-- Pierre Baillet <pierre at baillet.name> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071102/1b88c3c7/attachment.html