You are here

function _support_mail_deny in Support Ticketing System 6

Same name and namespace in other branches
  1. 7 support.module \_support_mail_deny()

Using drupal_mail to send notification mail to user that is not registered and tried to use mail support.

1 call to _support_mail_deny()
support_account_load in ./support.module
Match up a user account with an incoming email. Create account if email doesn't match any. TODO: Make it possible to assign multiple email addresses to one account.

File

./support.module, line 1697
support.module

Code

function _support_mail_deny($to) {
  $language = language_default();
  $key = 'ticket_deny';
  drupal_mail('support', $key, $to, $language, NULL);
}