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:
wrongecho 2024-08-10 22:39:47 +01:00
parent d6f30b83f8
commit 90e95a76b7
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {
$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
if (addTicket(0, 'Guest', $from_email, 0, $date, $subject, $message_body, $message->getAttachments(), $original_message_file)) {