Details
Description
Emails to support departments may fail to be created as tickets in the support system if the email comes from an email address. This is possible, for example, if the email is from a spammer that included a spoofed From address.
The result is that all emails parsed for the support department after the invalid email is parsed are unable to be imported into the support system.
Here's a fix:
Open /plugins/support_manager/components/ticket_manager/ticket_manager.php and find the following three lines:
$from = $this->EmailParser->getAddress($email, "from");
if (isset($from[0]))
$from = $from[0];
After those lines, add the following on a new line:
$from = (is_string($from) ? $from : '');
Save the change.
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
Emails to support departments may fail to be created as tickets in the support system if the email comes from an email address. This is possible, for example, if the email is from a spammer that included a spoofed From address.
The result is that all emails parsed for the support department after the invalid email is parsed are unable to be imported into the support system. Here's a fix: Open /plugins/support_manager/components/ticket_manager/ticket_manager.php and find the following three lines: {{ $from = $this->EmailParser->getAddress($email, "from"); if (isset($from[0])) $from = $from[0]; }} After those lines, add the following: {{ $from = (is_string($from) ? $from : ''); }} Save the change. |
Emails to support departments may fail to be created as tickets in the support system if the email comes from an email address. This is possible, for example, if the email is from a spammer that included a spoofed From address.
The result is that all emails parsed for the support department after the invalid email is parsed are unable to be imported into the support system. Here's a fix: Open /plugins/support_manager/components/ticket_manager/ticket_manager.php and find the following three lines: {quote}$from = $this->EmailParser->getAddress($email, "from"); if (isset($from[0])) $from = $from[0];{quote} After those lines, add the following: {quote}$from = (is_string($from) ? $from : '');{quote} Save the change. |
Tyson Phillips (Inactive)
made changes -
Description |
Emails to support departments may fail to be created as tickets in the support system if the email comes from an email address. This is possible, for example, if the email is from a spammer that included a spoofed From address.
The result is that all emails parsed for the support department after the invalid email is parsed are unable to be imported into the support system. Here's a fix: Open /plugins/support_manager/components/ticket_manager/ticket_manager.php and find the following three lines: {quote}$from = $this->EmailParser->getAddress($email, "from"); if (isset($from[0])) $from = $from[0];{quote} After those lines, add the following: {quote}$from = (is_string($from) ? $from : '');{quote} Save the change. |
Emails to support departments may fail to be created as tickets in the support system if the email comes from an email address. This is possible, for example, if the email is from a spammer that included a spoofed From address.
The result is that all emails parsed for the support department after the invalid email is parsed are unable to be imported into the support system. Here's a fix: Open /plugins/support_manager/components/ticket_manager/ticket_manager.php and find the following three lines: {quote}$from = $this->EmailParser->getAddress($email, "from"); if (isset($from[0])) $from = $from[0];{quote} After those lines, add the following on a new line: {quote}$from = (is_string($from) ? $from : '');{quote} Save the change. |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
Status | Open [ 1 ] | In Progress [ 3 ] |
Tyson Phillips (Inactive)
made changes -
Summary | Support Manager: Tickets emailed in may fail to be added if one has an invalid from addres | Support Manager: Tickets emailed in may fail to be added if one has an invalid from address |
Automated transition triggered when Tyson Phillips (Inactive) created pull request #5 in Stash -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Automated transition triggered when Cody Phillips (Inactive) merged pull request #5 in Stash -
Status | In Review [ 5 ] | Closed [ 6 ] |