Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • 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 Services/System/Email/MailerAdapter.inc.php

Methods summary

public
# __construct( PHPMailer $mailer, TrueBV\Punycode $punycode )

Class Constructor

Class Constructor

Parameters

$mailer
PHPMailer instance.
$punycode
Punycode encoder 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

PHPMailer Instance

PHPMailer Instance

#
protected TrueBV\Punycode $punycode

Used for punycode encoding.

Used for punycode encoding.

#
API documentation generated by ApiGen