You are here

function Messaging_Method_Mail::get_address_uid in Messaging 6.4

Get uid for address

File

messaging_mail/messaging_method_mail.class.inc, line 27
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Method_Mail
Base class for mail sending methods

Code

function get_address_uid($mail) {
  return db_result(db_query("SELECT uid FROM {users} WHERE mail = '%s'", $mail));
}