Skip to content

Commit

Permalink
Add anonymous email parsing
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wrongecho committed Aug 10, 2024
1 parent d6f30b8 commit 90e95a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron_ticket_email_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ function getInboxFolder($client, $inboxNames) {
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)) {
Expand Down

0 comments on commit 90e95a7

Please sign in to comment.