diff --git a/datamodel.itop-standard-email-synchro.xml b/datamodel.itop-standard-email-synchro.xml
index 22807b1..5fa5a6a 100755
--- a/datamodel.itop-standard-email-synchro.xml
+++ b/datamodel.itop-standard-email-synchro.xml
@@ -82,6 +82,11 @@
true
+
+ unknown_caller_rejection_reply_subject
+
+ true
+
caller_default_values
@@ -151,6 +156,27 @@
true
+
+ closed_ticket_behavior
+
+ error
+ process
+ new_ticket
+ update_ticket
+
+ new_ticket
+ false
+
+
+ closed_ticket_reply_subject
+
+ true
+
+
+ closed_ticket_reply
+
+ true
+
@@ -251,7 +277,7 @@ EOF
Overload-DBObject
sLastError = null;
+ $this->sLastError = null;
$this->Trace("Processing new eMail (index = $index)");
$oTicket = null;
if ($this->IsUndesired($oEmail))
@@ -427,15 +453,8 @@ EOF
if (is_null($oTicket)) {
$this->Trace("iTop Simple Email Synchro: WARNING the message ({$oEmail->sUIDL}) got a EmailReplica#{$oEmailReplica->GetKey()}
with the ticket_id={$oEmailReplica->Get('ticket_id')} but the ticket does not exist.");
- } elseif (MetaModel::IsValidAttCode(get_class($oTicket), "operational_status") && $oTicket->Get("operational_status") === "closed") {
- $this->Trace("iTop Simple Email Synchro: WARNING the message ({$oEmail->sUIDL}) is related to the CLOSED (operational_status) ticket {$oTicket->Get('id')}");
- return null;
- } elseif (MetaModel::IsValidAttCode(get_class($oTicket), "status") && $oTicket->Get("status") === "closed") {
- $this->Trace("iTop Simple Email Synchro: WARNING the message ({$oEmail->sUIDL}) is related to the CLOSED (status) ticket {$oTicket->Get('id')}");
- return null;
- }
- else {
- return $oTicket;
+ } else {
+ return $this->CheckTicketStatus($oTicket);
}
}
}
@@ -444,27 +463,77 @@ EOF
// No associated ticket found by parsing the headers, check
// if the subject does not match a specific pattern
$sPattern = $this->FixPattern($this->Get('title_pattern'));
- if(($sPattern != '') && (preg_match($sPattern, $oEmail->sSubject, $aMatches)))
- {
+ if(($sPattern != '') && (preg_match($sPattern, $oEmail->sSubject, $aMatches))) {
$oFilter = DBSearch::FromOQL('SELECT Ticket WHERE ref = :ref');
- foreach ($aMatches as $sMatch)
- {
- if (!empty($sMatch))
- {
+ foreach ($aMatches as $sMatch) {
+ if (!empty($sMatch)) {
$this->Trace("iTop Simple Email Synchro: Retrieving ticket $sMatch (match by subject pattern)...");
$oSet = new DBObjectSet($oFilter, array(), array('ref' => $sMatch));
$oTicket = $oSet->Fetch();
- if ($oTicket)
- {
- break;
+ if ($oTicket) {
+ return $this->CheckTicketStatus($oTicket,$oEmail);
}
- }
- }
+ }
+ }
}
return $oTicket;
}]]>
+
+
+ false
+ protected
+ Overload-DBObject
+ Get("operational_status") === "closed") ||
+ (MetaModel::IsValidAttCode(get_class($oTicket), "status") && $oTicket->Get("status") === "closed")) {
+ //send mail if configured to do so
+ $sReplyBody = $this->Get('closed_ticket_reply');
+ $sReplySubject = $this->Get('closed_ticket_reply_subject');
+ if (utils::IsNotNullOrEmptyString($sReplyBody)|| utils::IsNotNullOrEmptyString($sReplySubject) ) {
+ $sContactQuery = 'SELECT Person WHERE email = :email';
+ $oSet = new DBObjectSet(DBObjectSearch::FromOQL($sContactQuery), array(), array('email' => $oEmail->sCallerEmail));
+ $oPerson = $oSet->Fetch();
+ $aPlaceholders = [
+ '$subject$',
+ '$senderEmail$',
+ '$senderName$',
+ '$senderFirstName$'
+ ];
+ $aReplacement = [
+ $oEmail->sSubject,
+ $oEmail->sCallerEmail,
+ $oPerson->Get('name'),
+ $oPerson->Get('first_name'),
+ ];
+ //replace the only autorized placeholder $subject$
+ if (utils::IsNullOrEmptyString($sReplySubject)){
+ $sReplySubject = 'Re: '.$oEmail->sSubject;
+ } else {
+ $sReplySubject = str_replace($aPlaceholders,$aReplacement, $sReplySubject);
+ }
+ $sReplyBody = str_replace($aPlaceholders, $aReplacement, $sReplyBody);
+ $sReplyBody = str_replace("\n", "
", $sReplyBody);
+ $sReplyTo = $oEmail->sCallerEmail;
+ $sReplyFrom = $oEmail->aTos[0]['email'];
+ $this->Trace("From: ".$sReplyFrom."\nTo: ".$sReplyTo."\n".$sReplySubject."\n\n".$sReplyBody);
+ $oEmail->oRawEmail->SendAsAttachment($sReplyTo, $sReplyFrom, $sReplySubject, $sReplyBody);
+ }
+
+ if ($this->Get('closed_ticket_behavior') === 'new_ticket') {
+ $this->Trace("iTop Simple Email Synchro: WARNING the message ({$oEmail->sUIDL}) is related to the CLOSED (operational_status) ticket {$oTicket->Get('id')}");
+ return null;
+ }
+ }
+ return $oTicket;
+ }]]>
+
AddAttachments($oTicket, $oEmail, true, $aIgnoredAttachments, $oCaller, $oUser); // Cannot insert them for real since the Ticket is not saved yet (we don't know its ID)
- // we'll have to call UpdateAttachments once the ticket is properly saved
+ // we'll have to call UpdateAttachments once the ticket is properly saved
$oTicketDescriptionAttDef = MetaModel::GetAttributeDef(get_class($oTicket), 'description');
$bForPlainText = true; // Target format is plain text (by default)
if ($oTicketDescriptionAttDef instanceof AttributeHTML)
@@ -798,6 +867,31 @@ EOF
$this->SetNextAction(EmailProcessor::MARK_MESSAGE_AS_ERROR); // Keep the message in the mailbox, but marked as error
return;
}
+ if($this->Get('closed_ticket_behavior') === 'error'){
+ if ((MetaModel::IsValidAttCode(get_class($oTicket), "operational_status") && $oTicket->Get('operational_status') =='closed') || (MetaModel::IsValidAttCode(get_class($oTicket), "status") && $oTicket->Get("status") === "closed")) {
+ $this->sLastError='Ticket '.$oTicket->GetName().' is closed. Cannot update a closed ticket.';
+ return null;
+ }
+ }
+ if($this->Get('closed_ticket_behavior') === 'process'){
+ if ((MetaModel::IsValidAttCode(get_class($oTicket), "operational_status") && $oTicket->Get('operational_status') =='closed') || (MetaModel::IsValidAttCode(get_class($oTicket), "status") && $oTicket->Get("status") === "closed")) {
+ $this->Trace("iTop Simple Email Synchro: WARNING the message ({$oEmail->sUIDL}) is related to the CLOSED (operational_status) ticket {$oTicket->Get('id')}");
+ // process the mail as usual but do not update the ticket
+ if ($this->Get('email_storage') == 'delete') {
+ // Remove the processed message from the mailbox
+ $this->Trace("Ticket updated, deleting the source eMail '".$oEmail->sSubject."'");
+ $this->SetNextAction(EmailProcessor::DELETE_MESSAGE);
+ } else if ($this->Get('email_storage') == 'move') {
+ // Remove the processed message from the mailbox
+ $this->Trace("Ticket created, move the source eMail '".$oEmail->sSubject."'");
+ $this->SetNextAction(EmailProcessor::MOVE_MESSAGE);
+ } else {
+ // Keep the message in the mailbox
+ $this->SetNextAction(EmailProcessor::NO_ACTION);
+ }
+ return $oTicket;
+ }
+ }
// Try to extract what's new from the message's body
$this->Trace("iTop Simple Email Synchro: Updating the iTop ticket ".$oTicket->GetName()." from eMail '".$oEmail->sSubject."'");
@@ -1204,6 +1298,7 @@ EOF
Overload-DBObject
Trace(json_encode(\MyHelpers::get_callstack(1)));
$sTo = $this->Get('notify_errors_to');
$sFrom = $this->Get('notify_errors_from');
// The behavior is overriden in case of undesired_message
@@ -1226,15 +1321,29 @@ EOF
// if rejection reply
$sRejectionReply = $this->Get('unknown_caller_rejection_reply');
- if (!empty($sRejectionReply) && $oRawEmail)
+ $sRejectionReplySubject = $this->Get('unknown_caller_rejection_reply_subject');
+ if ((utils::IsNotNullOrEmptyString($sRejectionReply) || utils::IsNotNullOrEmptyString($sRejectionReplySubject)) && $oRawEmail)
{
- $sReplySubject = '[iTop] '.$oEmail->sSubject.' - '.$this->sLastError;
+ $aPlaceholders = [
+ '$subject$',
+ '$senderEmail$'
+ ];
+ $aReplacement = [
+ $oEmail->sSubject,
+ $oEmail->sCallerEmail
+ ];
+ if (utils::IsNullOrEmptyString($sRejectionReplySubject)){
+ $sRejectionReplySubject = '[iTop] '.$oEmail->sSubject.' - '.$this->sLastError;
+ } else {
+ $sRejectionReplySubject = str_replace($aPlaceholders, $aReplacement, $sRejectionReplySubject);
+ }
+ $sRejectionReply = str_replace($aPlaceholders, $aReplacement, $sRejectionReply);
$sReplyBody = str_replace("\n", "
", $sRejectionReply);
$sReplyTo = $oEmail->sCallerEmail;
$aTo = $oRawEmail->GetTo();
$sReplyFrom = $aTo[0]['email'];
- $this->Trace("From: ".$sReplyFrom."\nTo: ".$sReplyTo."\n".$sReplySubject."\n\n".$sReplyBody);
- $oRawEmail->SendAsAttachment($sReplyTo, $sReplyFrom, $sReplySubject, $sReplyBody);
+ $this->Trace("From: ".$sReplyFrom."\nTo: ".$sReplyTo."\n".$sRejectionReplySubject."\n\n".$sReplyBody);
+ $oRawEmail->SendAsAttachment($sReplyTo, $sReplyFrom, $sRejectionReplySubject, $sReplyBody);
$this->sLastError .= " - Replied to sender on ".date('r');
}
@@ -1469,6 +1578,11 @@ EOF
-
30
+
+
+ -
+ 20
+
-
40
@@ -1486,12 +1600,33 @@ EOF
+ -
+ 30
+
+
-
+ 40
+
+ -
+ 50
+
+ -
+ 60
+
+
+
+
+
+ -
+
-
- 20
+ 10
-
10
+ -
+ 14
+
-
15
diff --git a/dictionaries/cs.dict.itop-standard-email-synchro.php b/dictionaries/cs.dict.itop-standard-email-synchro.php
index 2138b4e..7c1c7ca 100644
--- a/dictionaries/cs.dict.itop-standard-email-synchro.php
+++ b/dictionaries/cs.dict.itop-standard-email-synchro.php
@@ -20,6 +20,22 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +113,19 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/da.dict.itop-standard-email-synchro.php b/dictionaries/da.dict.itop-standard-email-synchro.php
index 2826bf7..acefe64 100644
--- a/dictionaries/da.dict.itop-standard-email-synchro.php
+++ b/dictionaries/da.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,23 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/de.dict.itop-standard-email-synchro.php b/dictionaries/de.dict.itop-standard-email-synchro.php
index 1428e92..ded5bd2 100644
--- a/dictionaries/de.dict.itop-standard-email-synchro.php
+++ b/dictionaries/de.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Tickets anlegen oder aktualisieren',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Neue Tickets anlegen',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Vorhandene Tickets aktualisieren',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'Default-Werte für neue Person',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Geben Sie einen Wert für alle Pflichtfelder einer Person an, mit Ausnahme der E-Mail.
Verwenden Sie eine Feldinitialisierung pro Zeile im folgenden Format: :',
@@ -93,10 +108,15 @@
- E-Mail ablehnen: Die E-Mail als Fehler kennzeichnen und dem Absender mit dem Inhalt von „Ablehnung unbekannter Absender“ antworten',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Neue Person anlegen',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Mail ablehnen',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Ablehnungsnachricht bei unbekanntem Melder',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optionale Antwort an den Absender, die mit der Option „E-Mail ablehnen“ verwendet wird.
-Unbekannte Absender sind E-Mail-Adressen, die mit keiner Person in '.ITOP_APPLICATION_SHORT.' übereinstimmen.
-Wenn dieses Feld leer gelassen wird, wird keine Nachricht an unbekannte Absender gesendet.',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
+Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Verhalten bei eingehenden Mails',
'MailInbox:Caller' => 'Unbekannte Melder',
'MailInbox:Errors' => 'Mails mit Fehlern',
diff --git a/dictionaries/en.dict.itop-standard-email-synchro.php b/dictionaries/en.dict.itop-standard-email-synchro.php
index c8f0b53..f0c890b 100644
--- a/dictionaries/en.dict.itop-standard-email-synchro.php
+++ b/dictionaries/en.dict.itop-standard-email-synchro.php
@@ -38,6 +38,25 @@
- Create or Update: Update a matching Ticket found, otherwise create.
- Create new ticket: Every new message creates a new Ticket.
- Update existing ticket: Update a matching Ticket found, otherwise flag in error.',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail in error',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply' => 'Closed ticket autoreply message',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply+' => 'Optional reply to sender used in case of closed ticket.
+If this field is left empty, then no message is sent in case of closed ticket.
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the message.',
'Class:MailInboxStandard/Attribute:email_storage' => 'After processing the eMail',
'Class:MailInboxStandard/Attribute:email_storage/Value:keep' => 'Keep it on the mail server',
@@ -92,10 +111,15 @@
- Create a new Person: with the sender email and the "New Person\'s Default Values"
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.',
'Class:MailInboxStandard/Attribute:trace' => 'Debug trace',
'Class:MailInboxStandard/Attribute:trace/Value:yes' => 'Yes',
@@ -140,6 +164,8 @@
'MailInbox:Server' => 'Mailbox Configuration',
'MailInbox:Behavior' => 'Behavior on Incoming eMails',
'MailInbox:Caller' => 'Unknown Senders',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets',
'MailInbox:Errors' => 'Emails in Error',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts',
'Menu:MailInboxes' => 'Incoming eMail Inboxes',
@@ -147,4 +173,5 @@
'MailInboxStandard:DebugTrace' => 'Debug Trace',
'MailInboxStandard:DebugTraceNotActive' => 'Activate the debug on this Inbox to see the debug trace here.',
'MailInbox:NoSubject' => 'No subject',
+
));
diff --git a/dictionaries/en_gb.dict.itop-standard-email-synchro.php b/dictionaries/en_gb.dict.itop-standard-email-synchro.php
index 9dc650f..588368a 100644
--- a/dictionaries/en_gb.dict.itop-standard-email-synchro.php
+++ b/dictionaries/en_gb.dict.itop-standard-email-synchro.php
@@ -38,6 +38,21 @@
- Create or Update: Update a matching Ticket found, otherwise create.
- Create new ticket: Every new message creates a new Ticket.
- Update existing ticket: Update a matching Ticket found, otherwise flag in error.',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:email_storage' => 'After processing the eMail',
'Class:MailInboxStandard/Attribute:email_storage/Value:keep' => 'Keep it on the mail server',
@@ -92,10 +107,15 @@
- Create a new Person: with the sender email and the "New Person\'s Default Values"
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'Class:MailInboxStandard/Attribute:trace' => 'Debug trace',
'Class:MailInboxStandard/Attribute:trace/Value:yes' => 'Yes',
diff --git a/dictionaries/es_cr.dict.itop-standard-email-synchro.php b/dictionaries/es_cr.dict.itop-standard-email-synchro.php
index d629548..4b34479 100644
--- a/dictionaries/es_cr.dict.itop-standard-email-synchro.php
+++ b/dictionaries/es_cr.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Crear or Actualizar Tickets',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Crear nuevos Tickets',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Actualizar Tickets existentes',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'Valores por Omisión para Nueva Persona',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -96,10 +111,16 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Crear una nueva Persona',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Rechazar el correo',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
+
'MailInbox:Behavior' => 'Comportamiento de correos Entrantes',
'MailInbox:Caller' => 'Requiriente Desconocido',
'MailInbox:Errors' => 'Correos con Error',
diff --git a/dictionaries/fr.dict.itop-standard-email-synchro.php b/dictionaries/fr.dict.itop-standard-email-synchro.php
index a2f6106..9b682d8 100644
--- a/dictionaries/fr.dict.itop-standard-email-synchro.php
+++ b/dictionaries/fr.dict.itop-standard-email-synchro.php
@@ -20,6 +20,26 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Créer ou mettre à jour un Ticket',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Créer un Ticket',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Mettre à jour un Ticket existant',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Comportement en cas de ticket fermé',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'Si le ticket correspondant à un message reçu est fermé, donne le comportement à adopter :
+- Mettre le message en erreur
+- Marquer le message comme traité sans mettre à jour le ticket
+- Créer un nouveau ticket,
+- Mettre à jour le ticket fermé. Dans ce cas, il est préférable de configurer un "Stimuli à appliquer" pour réouvrir le ticket.',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mettre le mail en erreur',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Marquer le mail comme traité',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Créer un nouveau Ticket',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Mettre à jour le Ticket',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Sujet de la réponse en cas de ticket fermé',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'Si aucun sujet n\'est renseigné, le sujet par défaut sera :: "Re:$subject$"
+Vous pouvez utiliser les placeholders $subject$, $senderName$, $senderFirstName$ et $senderEmail$ dans le sujet du mail.',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply' => 'Réponse en cas de ticket fermé',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply+' => 'Auto reply optionnel en cas de ticket fermé.
+Si le champ est vide, aucun message ne sera envoyé en cas de ticket fermé
+Vous pouvez utiliser les placeholders $subject$, $senderName$, $senderFirstName$ et $senderEmail$ dans le message.',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'Valeurs par défaut pour la nouvelle Personne',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Fournir une valeur pour tous les champs obligatoires de la Personne, sauf l\'email.
Un champ par ligne, au format :',
@@ -97,12 +117,18 @@
- Rejeter l\'eMail : ce qui le marquera en erreur et répondra avec le contenu du champ \'Réponse aux expéditeurs inconnus\'.',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Créer une nouvelle Personne',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Rejeter l\'eMail',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Sujet de la réponse aux expéditeurs inconnus',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'Si aucun sujet n\'est renseigné, le sujet par défaut sera : "[iTop]$subject$ - Unknown caller ($senderEmail$)".
+Vous pouvez utiliser les placeholders $subject$ et $senderEmail$ dans le sujet du mail de réponse.',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Réponse aux expéditeurs inconnus',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Ce champ optionnel spécifie le message à envoyer aux expéditeurs inconnus.
Un expéditeur inconnu est celui dont l\'adresse mail ne correspond à aucune Personne dans '.ITOP_APPLICATION_SHORT.'.
-Si ce champ est laissé vide, alors aucune réponse ne leur est envoyée.',
+Si ce champ est laissé vide, alors aucune réponse ne leur est envoyée.
+Vous pouvez utiliser les placeholders $subject$ et $senderEmail$ dans le message.',
'MailInbox:Behavior' => 'Comportement',
'MailInbox:Caller' => 'Contacts inconnus',
+ 'MailInbox:TicketProcessing' => 'Traitement des tickets',
+ 'MailInbox:ClosedTickets' => 'Tickets fermés',
'MailInbox:Errors' => 'eMails en erreur',
'MailInbox:NoSubject' => 'Pas de sujet',
'MailInbox:OtherContacts' => 'Contacts Additionnels',
diff --git a/dictionaries/hu.dict.itop-standard-email-synchro.php b/dictionaries/hu.dict.itop-standard-email-synchro.php
index aabb0e7..4fe5705 100644
--- a/dictionaries/hu.dict.itop-standard-email-synchro.php
+++ b/dictionaries/hu.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,20 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/it.dict.itop-standard-email-synchro.php b/dictionaries/it.dict.itop-standard-email-synchro.php
index 035ac86..b669ba3 100644
--- a/dictionaries/it.dict.itop-standard-email-synchro.php
+++ b/dictionaries/it.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,20 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
+
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/ja.dict.itop-standard-email-synchro.php b/dictionaries/ja.dict.itop-standard-email-synchro.php
index f144e5c..d8ae6c9 100644
--- a/dictionaries/ja.dict.itop-standard-email-synchro.php
+++ b/dictionaries/ja.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,20 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
+
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/nl.dict.itop-standard-email-synchro.php b/dictionaries/nl.dict.itop-standard-email-synchro.php
index 3baa272..d085f84 100644
--- a/dictionaries/nl.dict.itop-standard-email-synchro.php
+++ b/dictionaries/nl.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,19 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/pt_br.dict.itop-standard-email-synchro.php b/dictionaries/pt_br.dict.itop-standard-email-synchro.php
index c57022f..09cb9cf 100644
--- a/dictionaries/pt_br.dict.itop-standard-email-synchro.php
+++ b/dictionaries/pt_br.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,19 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/ru.dict.itop-standard-email-synchro.php b/dictionaries/ru.dict.itop-standard-email-synchro.php
index 8a3ef89..6f449bc 100644
--- a/dictionaries/ru.dict.itop-standard-email-synchro.php
+++ b/dictionaries/ru.dict.itop-standard-email-synchro.php
@@ -21,6 +21,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Создать или обновить тикет',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Создать новый тикет',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Обновить существующий тикета',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'Значения по умолчанию для новой Персоны',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,10 +112,15 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Создать новую Персону',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Отклонить сообщение',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'При входящем сообщении',
'MailInbox:Caller' => 'Неизвестный отправитель',
'MailInbox:Errors' => 'Сообщение с ошибкой',
diff --git a/dictionaries/sk.dict.itop-standard-email-synchro.php b/dictionaries/sk.dict.itop-standard-email-synchro.php
index 7db3feb..e197d0e 100644
--- a/dictionaries/sk.dict.itop-standard-email-synchro.php
+++ b/dictionaries/sk.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,19 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.~~',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail~~”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/tr.dict.itop-standard-email-synchro.php b/dictionaries/tr.dict.itop-standard-email-synchro.php
index 23d6657..eb1f18e 100644
--- a/dictionaries/tr.dict.itop-standard-email-synchro.php
+++ b/dictionaries/tr.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,19 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',
diff --git a/dictionaries/zh_cn.dict.itop-standard-email-synchro.php b/dictionaries/zh_cn.dict.itop-standard-email-synchro.php
index ed01d82..ac8da8f 100644
--- a/dictionaries/zh_cn.dict.itop-standard-email-synchro.php
+++ b/dictionaries/zh_cn.dict.itop-standard-email-synchro.php
@@ -20,6 +20,21 @@
'Class:MailInboxStandard/Attribute:behavior/Value:both' => 'Create or Update Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:create_only' => 'Create new Tickets~~',
'Class:MailInboxStandard/Attribute:behavior/Value:update_only' => 'Update existing Tickets~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior' => 'Behavior in case of closed ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior+' => 'In case of an update, it provides the behavior if the ticket is closed:
+- Mark the mail as in error
+- Mark the mail as processed, without updating the closed ticket
+- Create a new ticket
+- Update existing ticket. In this case, it\'s preferable to configure a "stimulus to apply" to reopen ticket.~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:error' => 'Mark the mail as in error~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:process' => 'Mark the mail as processed~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:new_ticket' => 'Create a new Ticket~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_behavior/Value:update_ticket' => 'Update the Ticket~~',
+
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject' => 'Closed ticket autoreply subject~~',
+ 'Class:MailInboxStandard/Attribute:closed_ticket_reply_subject+' => 'If no subject is provided, then the default subject will be: "Re:$subject$"
+You can use the following placeholders : $subject$, $senderName$, $senderFirstName$ and $senderEmail$ in the email subject.~~',
+
'Class:MailInboxStandard/Attribute:caller_default_values' => 'New Person\'s Default Values~~',
'Class:MailInboxStandard/Attribute:caller_default_values+' => 'Provide a value for all mandatory fields of a Person, except email.
Use one field initialization per line, in the format: :~~',
@@ -97,12 +112,19 @@
- Reject the eMail: flag the eMail in error and reply to the sender with the content of "Unknown senders rejection reply"~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:create_contact' => 'Create a new Person~~',
'Class:MailInboxStandard/Attribute:unknown_caller_behavior/Value:reject_email' => 'Reject the eMail~~',
- 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply~~',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject' => 'Unknown senders autoreply subject',
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply_subject+' => 'If no subject is provided, then the default subject will be: "[iTop]$subject$ - Unknown caller ($senderEmail$)"
+You can use the following placeholders : $subject$ and $senderEmail$ in the email subject.',
+
+ 'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply' => 'Unknown senders rejection reply message',
'Class:MailInboxStandard/Attribute:unknown_caller_rejection_reply+' => 'Optional reply to sender used with option “Reject the eMail”.
Unknown senders are email addresses which do not correspond to any Person in '.ITOP_APPLICATION_SHORT.'.
-If this field is left empty, then no message is sent to unknown senders~~',
+If this field is left empty, then no message is sent to unknown senders
+You can use the following placeholders : $subject$ and $senderEmail$ in the message.~~',
'MailInbox:Behavior' => 'Behavior on Incoming eMails~~',
'MailInbox:Caller' => 'Unknown Senders~~',
+ 'MailInbox:TicketProcessing' => 'Ticket Processing~~',
+ 'MailInbox:ClosedTickets' => 'Closed Tickets~~',
'MailInbox:Errors' => 'Emails in Error~~',
'MailInbox:NoSubject' => 'No subject~~',
'MailInbox:OtherContacts' => 'Behavior for Additional Contacts~~',