Overview

Namespaces

  • Avisota
    • Event
    • Message
    • Queue
    • Recipient
    • RecipientSource
    • Renderer
    • Templating
    • Test
      • Database
      • Imap
      • Message
      • Queue
      • Renderer
      • Transport
    • Transport

Classes

  • AbstractSwiftTransport
  • AbstractTransport
  • QueueTransport
  • SmtpTransport
  • SwiftTransport
  • TransportStatus

Interfaces

  • TransportInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class SmtpTransport

Transport using swift smtp transport.

Avisota\Transport\AbstractTransport implements Avisota\Transport\TransportInterface
Extended by Avisota\Transport\AbstractSwiftTransport
Extended by Avisota\Transport\SmtpTransport
Namespace: Avisota\Transport
Package: avisota-core
Located at src/Avisota/Transport/SmtpTransport.php
Methods summary
public Avisota\Transport\SmtpTransport
# __construct( string $host = 'localhost', null $port = null, null $username = null, null $password = null, null $encryption = null, Avisota\Renderer\MessageRendererInterface $renderer )

Parameters

$host
string
$host
$port
null
$port
$username
null
$username
$password
null
$password
$encryption
null
$encryption
$renderer

Returns

Avisota\Transport\SmtpTransport
public
# setHost( string $host )

Parameters

$host
string
$host
public string
# getHost( )

Returns

string
public
# setPort( integer $port )

Parameters

$port
integer
$port
public integer
# getPort( )

Returns

integer
public
# setUsername( string $username )

Parameters

$username
string
$username
public string
# getUsername( )

Returns

string
public
# setPassword( string $password )

Parameters

$password
string
$password
public string
# getPassword( )

Returns

string
public
# setEncryption( string $encryption )

Parameters

$encryption
string
$encryption
public string
# getEncryption( )

Returns

string
protected Swift_Mailer
# createMailer( )

Returns

Swift_Mailer
Methods inherited from Avisota\Transport\AbstractSwiftTransport
flush(), initialise(), resetMailer(), send()
Methods inherited from Avisota\Transport\AbstractTransport
getRenderer(), setRenderer()
Properties summary
protected string $host
#
protected integer $port
#
protected string $username
#
protected string $password
#
protected "ssl"|"tls" $encryption
#
protected Swift_Mailer|null $swiftMailer
#
Properties inherited from Avisota\Transport\AbstractTransport
$renderer
avisota/core API documentation generated by ApiGen 2.8.0