Class DebugTransport

Debug Transport class, useful for emulate the email sending process and inspect the resulted email message before actually send it during development

AbstractTransport
Extended by DebugTransport
Package: Cake\Network\Email
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Cake/Network/Email/DebugTransport.php

Method Detail

sendsource public

send( CakeEmail $email )

Send mail

Parameters

CakeEmail $email
CakeEmail

Returns

array
array

Methods inherited from AbstractTransport

_headersToStringsource 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

string
string

configsource public

config( array $config null )

Set the config

Parameters

array $config optional null
Configuration options.

Returns

array
Returns configs

Properties inherited from AbstractTransport

$_configsource

protected array

Configurations

array()

© 2005–2016 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.
http://api.cakephp.org/2.7/class-DebugTransport.html