[rt-users] Customisation question: 'From: RT_user <rt_address>'

Michael S. Liebman m-liebman at northwestern.edu
Thu Jun 17 11:30:09 EDT 2004


On Thu, Jun 17, 2004 at 06:39:35PM +0400, Ruslan U. Zakirov wrote:
> ann at drop.2organize.com wrote:
> >Hi,
> >
> >Can someone point me in the right direction for having the actor's
> >name as the sender?  I see this is done on fsck--if Jesse replies
> >to a ticket, I see the sender as 'Jesse Vincent <normal_bug_address_here>'.
> 
> 'From: ' - is mail header field.
> Use template first lines to override it:

What about $UseFriendlyFromLine?

> # By default, RT sets the outgoing mail's "From:" header to
> # "SenderName via RT".  Setting this option to 0 disables it.
> 
> Set($UseFriendlyFromLine , 1);
> 
> # sprintf() format of the friendly 'From:' header; its arguments
> # are SenderName and SenderEmailAddress.
> Set($FriendlyFromLineFormat , "\"%s via RT\" <%s>");

Michael
-- 
Michael S. Liebman                      m-liebman at northwestern.edu
                  http://msl521.freeshell.org/
"I have vision and the rest of the world wears bifocals."
        -Paul Newman in "Butch Cassidy & the Sundance Kid"



More information about the rt-users mailing list