On this page
Class AbstractTransport
Abstract transport for sending email
Direct Subclasses
Abstract
Package: Cake\Network\Email
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Network/Email/AbstractTransport.php
Package: Cake\Network\Email
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Network/Email/AbstractTransport.php
Properties summary
-
$_config
protectedarray
Method Summary
-
_headersToString() protectedHelp to convert headers in string
-
config() publicSet the config
- Send mail
Method Detail
_headersToString()source protected
_headersToString( array $headers , string $eol "\r\n" )
Help to convert headers in string
Parameters
-
array
$headers
- Headers in format key => value
-
string
$eol
optional "\r\n" - End of line string.
Returns
stringconfig()source public
config( array $config null )
Set the config
Parameters
-
array
$config
optional null - Configuration options.
Returns
arrayReturns configs
send()source abstract public
send( CakeEmail $email )
Send mail
Parameters
CakeEmail
$email
- CakeEmail instance.
Returns
arrayProperties detail
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.10/class-AbstractTransport.html