mirror of
https://github.com/itflow-org/itflow
synced 2026-03-07 14:24:50 +00:00
Add anonymous email parsing
Add option to allow unknown/anonymous email parsing for unknown contacts/domains. This will be disabled by default due to the potential for spam, but can be turned on in the settings if required.
This commit is contained in:
@@ -417,7 +417,7 @@ if ($messages->count() > 0) {
|
|||||||
if (addTicket($contact_id, $contact_name, $contact_email, $client_id, $date, $subject, $message_body, $message->getAttachments(), $original_message_file)) {
|
if (addTicket($contact_id, $contact_name, $contact_email, $client_id, $date, $subject, $message_body, $message->getAttachments(), $original_message_file)) {
|
||||||
$email_processed = true;
|
$email_processed = true;
|
||||||
}
|
}
|
||||||
} else if ($config_ticket_email_parse_unknown_senders) {
|
} elseif ($config_ticket_email_parse_unknown_senders) {
|
||||||
// Parse even if the sender is unknown
|
// Parse even if the sender is unknown
|
||||||
|
|
||||||
if (addTicket(0, 'Guest', $from_email, 0, $date, $subject, $message_body, $message->getAttachments(), $original_message_file)) {
|
if (addTicket(0, 'Guest', $from_email, 0, $date, $subject, $message_body, $message->getAttachments(), $original_message_file)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user