Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AttachmentsHandler
  • EmailFactory
  • EmailService
  • MailerAdapter

Class MailerAdapter

Class MailerAdapter

This class provides a communication layer with the external mailing library in order to isolate the library-specific code.

MailerAdapter implements MailerAdapterInterface
Package: Email
Category: System
Located at SystemServices/Email/MailerAdapter.inc.php

Methods summary

public
# __construct( PHPMailer $mailer )

Class Constructor

Class Constructor

Parameters

$mailer
PHPMailer instance.
public
# send( EmailInterface $email )

Sends a single email.

Sends a single email.

Parameters

$email
Contains email information.

Throws

Exception
If mailer library fails to send the email.

Implementation of

MailerAdapterInterface::send()

Properties summary

protected PHPMailer $mailer

PHP mailer.

PHP mailer.

#
API documentation generated by ApiGen