Hi Damir,

Damir Dzeko wrote:
What is $Param{InmailUserID}?

I've figured that out.

Now I have a question about notifications in Article.pm module.

Can someone please explain to me why is this condition there?

elsif ($Param{HistoryType} =~ /^FollowUp$/i || $Param{HistoryType} =~ /^AddNote$/i) {
# get owner
my ($OwnerID, $Owner) = $Self->OwnerCheck(TicketID => $Param{TicketID});
if ($OwnerID ne $Self->{ConfigObject}->Get('PostmasterUserID')
&& $OwnerID ne $Param{UserID}) {


This last if here -- it prevents sending notifications when
Owner of ticket and UserID of message do not match. Why?

This is, to send no notifications to the admin account (which is [EMAIL PROTECTED] and also PostmasterUserID and UserID). And all articles added from the PostMaster process is added by the admin account.


If you write an agent email interface (e. g. to answer tickets via email) you need to lookup the sender agent UserID based on the email of the agent and the use this UserID for new articles of the agent.

However, I wrote also an agent email interface. :) It currently supports "send answer to customer". But can be improved with close, unlock, ...

But it just works with the cvs head. If you want, you can get it.

  Martin Edenhofer

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication!

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to