Use the OTRS
$Self->{'SendmailBcc'} = '' function
See the documentation
http://doc.otrs.org/2.2/en/html/a2644.html#Framework
B.1.9.7. SendmailBcc
Description Value
Description: Send all outgoing email via bcc to the specified address.
Please use this only for backup reasons!
Group: Framework
SubGroup: Core::Sendmail
Valid: 1
Required: 0
Config-Setting:
$Self->{'SendmailBcc'} = '';
Regards,
Peter
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Mike Lykov
Verzonden: woensdag 30 januari 2008 10:34
Aan: [email protected]
Onderwerp: [otrs] add cc/bcc in all agents replies
Hi all.
Who use archiving outgoing emails?
We have a OTRS 2.2.4 install, and it works good.
Tickets creating, autoanswers sending, agents replying ;)
But, for archive reasons, we are want to collect all agent's replies in
archive box - all letters, sended by agents, also sending to that special
mailbox.
how to do this?
1. use "sendmail_bcc" feature.
when i use it, it sends ALL letters, including autoreplies, to archive
mailbox. it's not correct.
2. add that archive email in template, when agent press on "answer" - cc or
bcc field contain needed email already.
It is suitable, but editing templates not described in any documentation.
(only http://doc.otrs.org/developer/2.2/en/html/c494.html i can find, but
don't know which template i need to edit and how)
Or it may be conceprually incorrect by design.
3. patch the code in Email.pm around
if ($Self->{SendmailBcc}) {
push (@ToArray, $Self->{SendmailBcc});
$To .= ", $Self->{SendmailBcc}";
}
- not to push this if letter are autoanswer.
(autoanswer contains "X-Loop: yes" header, but can use this here?)
4. Your method?
--
Mike Lykov
System Administrator
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/