#2705 - Allow emails to support ticket email integration from emails not associated with a member

  • By
  • Added
  • 1 view
Identifier #2705
Issue type Trivial issue (does not break functionality)
Title Allow emails to support ticket email integration from emails not associated with a member
Status Closed (duplicate)
Handling member Chris Graham
Addon tickets
Description I think that there should at least be a configurable option to make the support tickets email integration allow creation of support tickets from emails not associated with a registered member. That way, guests can send emails to the configured support ticket email for issues such as website downtime, problems with registration or logging in, etc.

Doing this is very simple. Modify tickets_email_integration.php in sources. In the ticket_incoming_message function, line 526 in the original sources php file, within the following:

if (is_null($member_id)) {
if (is_null($existing_ticket)) {

change "return;" to "$member_id = $GLOBALS['FORUM_DRIVER']->get_guest_id();" .

This will cause the email integration system to, instead of terminating, creating a support ticket as a guest. It will still email out to the member via. ticket_email_cannot_bind function that their email is not an email of a known member (you may wish to modify the function name as well as the text in the template if you make this core, removing the part saying to email from an email address of a registered user).
Steps to reproduce

Related to

#2810 - Allow guest ticket submission via. email of ticket email integration

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated