Textpattern PHP Cross Reference Content Management Systems

Source: /textpattern/vendors/Textpattern/Mail/Message.php - 102 lines - 1892 bytes - Text - Print

Description: Mail message fields.

   1  <?php
   2  
   3  /*
   4   * Textpattern Content Management System
   5   * https://textpattern.com/
   6   *
   7   * Copyright (C) 2020 The Textpattern Development Team
   8   *
   9   * This file is part of Textpattern.
  10   *
  11   * Textpattern is free software; you can redistribute it and/or
  12   * modify it under the terms of the GNU General Public License
  13   * as published by the Free Software Foundation, version 2.
  14   *
  15   * Textpattern is distributed in the hope that it will be useful,
  16   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18   * GNU General Public License for more details.
  19   *
  20   * You should have received a copy of the GNU General Public License
  21   * along with Textpattern. If not, see <https://www.gnu.org/licenses/>.
  22   */
  23  
  24  /**
  25   * Mail message fields.
  26   *
  27   * @since   4.6.0
  28   * @package Mail
  29   */
  30  
  31  namespace Textpattern\Mail;
  32  
  33  class Message
  34  {
  35      /**
  36       * An array of senders.
  37       *
  38       * @var array
  39       */
  40  
  41      public $from = array();
  42  
  43      /**
  44       * An array of recipients.
  45       *
  46       * @var array
  47       */
  48  
  49      public $to = array();
  50  
  51      /**
  52       * The subject.
  53       *
  54       * @var string
  55       */
  56  
  57      public $subject = '';
  58  
  59      /**
  60       * The message body.
  61       *
  62       * @var string
  63       */
  64  
  65      public $body = '';
  66  
  67      /**
  68       * An array of reply to addresses.
  69       *
  70       * @var array
  71       */
  72  
  73      public $replyTo = array();
  74  
  75      /**
  76       * An array of carbon copy addresses.
  77       *
  78       * @var array
  79       */
  80  
  81      public $cc = array();
  82  
  83      /**
  84       * An array of blind carbon copy addresses.
  85       *
  86       * @var array
  87       */
  88  
  89      public $bcc = array();
  90  
  91      /**
  92       * An array of additional headers.
  93       *
  94       * @var array
  95       */
  96  
  97      public $headers = array(
  98          'X-Mailer'                  => 'Textpattern',
  99          'Content-Transfer-Encoding' => '8bit',
 100          'Content-Type'              => 'text/plain; charset="UTF-8"',
 101      );
 102  }

title

Description

title

Description

title

Description

title

title

Body