You are here

function _views_send_email_message_property_info in Views Send 7

Same name and namespace in other branches
  1. 8 views_send.module \_views_send_email_message_property_info()

Returns property info for Views Send Email Message

2 calls to _views_send_email_message_property_info()
views_send_rules_data_info in ./views_send.rules.inc
Implementation of hook_rules_data_info().
views_send_token_info in ./views_send.tokens.inc
Implements hook_token_info().

File

./views_send.module, line 1307
The Views Send module.

Code

function _views_send_email_message_property_info() {
  $propertyinfo = array(
    'uid' => array(
      'type' => 'integer',
      'label' => t('User ID'),
    ),
    'timestamp' => array(
      'type' => 'integer',
      'label' => t('Timestamp'),
    ),
    'from_name' => array(
      'type' => 'text',
      'label' => t('Sender\'s name'),
    ),
    'from_mail' => array(
      'type' => 'text',
      'label' => t('Sender\'s e-mail'),
    ),
    'to_name' => array(
      'type' => 'text',
      'label' => t('Recipient\'s name'),
    ),
    'to_mail' => array(
      'type' => 'text',
      'label' => t('Recipient\'s e-mail'),
    ),
    'subject' => array(
      'type' => 'text',
      'label' => t('E-mail subject'),
    ),
    'body' => array(
      'type' => 'text',
      'label' => t('E-mail body'),
    ),
    'headers' => array(
      'type' => 'text',
      'label' => t('E-mail headers (serialized)'),
    ),
  );
  return $propertyinfo;
}