Hi all,
I've got a client request about logging every mail sent by OTRS in a verbose way on a file. As I can see the OTRS log by default does not write information about mail sent successfuly. Is there an easy way to perform such action? I'm thinking about simple code addition in the proper perl file or something like this. Any suggestions?
As always, thank you for your support.
Luca
How to log mail sent?
Moderator: crythias
How to log mail sent?
OTRS 3.3.3 - Ubuntu server 12.04 - MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to log mail sent?
There's also a feature in OTRS
Edit Config Settings in Framework -> Core::Sendmail
SendmailBcc
Edit Config Settings in Framework -> Core::Sendmail
SendmailBcc
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: How to log mail sent?
Nice point! It may be a good solution.crythias wrote:There's also a feature in OTRS
Edit Config Settings in Framework -> Core::Sendmail
SendmailBcc
Thanks for the 1000th time crythias

OTRS 3.3.3 - Ubuntu server 12.04 - MySQL
Re: How to log mail sent?
the logfile does already logging each sent email
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: How to log mail sent?
Something like this:jojo wrote:the logfile does already logging each sent email
Code: Select all
Feb 26 17:02:52 frmz-otrs OTRS-CGI-88[341]: [Info][Kernel::System::Ticket::Article::ArticleSend] Sent email to 'gengis@khan.com' from 'OTRS System <otrs@localhost>'. HistoryType => SendAnswer, Subject => Re: [Ticket#2014022688000016] hfhgfh;
OTRS 3.3.3 - Ubuntu server 12.04 - MySQL