Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • AddressList
  • AddressListHeader
  • BccHeader
  • CcHeader
  • ContentTypeHeader
  • FileDeliverer
  • FromHeader
  • Header
  • Hooks
  • MailDeliverer
  • Mailer
  • Message
  • MessagePart
  • ToHeader
  • ValueHeader

Interfaces

  • Deliverer

Class Message

Representation of a message.

<?php

use ICanBoogie\Mailer\Message;

$message = new Message;

# to, cc, bcc
$message->to = "person@domain.com";
# or
$message->to = "Person name <person@domain.com>";
# or
$message->to = [ "person@domain.com" => "Person name" ];

# multiple recipients
$message->to = [ "person@domain.com" => "Person name", "person2@domain.com" ];
# or
$message->to = "Person name<person@domain.com>, person2@domain.com";
ICanBoogie\Mailer\MessagePart
Extended by ICanBoogie\Mailer\Message
Namespace: ICanBoogie\Mailer
Located at vendor/icanboogie/mailer/lib/message.php

Methods summary

public static
# from( mixed $source )
public
# __construct( array $attributes = [], array $header_fields = [] )

Overrides

ICanBoogie\Mailer\MessagePart::__construct
public
# __get( mixed $property )

Overrides

ICanBoogie\Mailer\MessagePart::__get
public
# __set( mixed $property, mixed $value )

Overrides

ICanBoogie\Mailer\MessagePart::__set
public
# __toString( )
public array
# prepare( )

Returns

array
The prepared information for the mailer: - 0: (string) $to - 1: (string) $subject - 2: (string) $body - 3: (string) $header

Methods inherited from ICanBoogie\Mailer\MessagePart

__clone()

Magic methods summary

Properties summary

public static array $property_to_header
#
public string $subject
#

Subject of the message.

Subject of the message.

protected mixed $parts
#
protected mixed $attachments
#

Properties inherited from ICanBoogie\Mailer\MessagePart

$body, $header

Magic properties

public ICanBoogie\Mailer\FromHeader $from
#
public ICanBoogie\Mailer\ToHeader $to
#

Representation of the To header field.

Representation of the To header field.

public ICanBoogie\Mailer\CcHeader $cc
#

Representation of the Cc header field.

Representation of the Cc header field.

public ICanBoogie\Mailer\BccHeader $bcc
#

Representation of the Bcc header field.

Representation of the Bcc header field.

public write-only string $type
#

The message type, either "html" or "plain".

The message type, either "html" or "plain".

Autodoc API documentation generated by ApiGen 2.8.0