[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Question About Sending New Emails



Excerpts from Bryan T. Richardson's message of Thu Dec 31 12:44:57 -0500 2009:

Hi Bryan,

> 'From' address, but I can't figure out of it's possible to set the
> 'From' address in Sup. If so, cool. If not then oh well, I love Sup
> anyway! :)

You can use one or both of the before-edit and reply-from hooks to do
what you need.  Here is my reply-from hook
(~/.sup/hooks/reply-from.rb):

--snip--
case [message.to, message.cc].flatten.to_s
when /opencsw/, /bolthole/ then "bwalton@OBFUSCATED"
else "bwalton@DEFAULT"
end
--snip--

HTH.
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk