|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (MessageInterface $message, ScopeConfigInterface $scopeConfig, $parameters=null) | |
| sendMessage () | |
| getMessage () | |
Data Fields | |
| const | XML_PATH_SENDING_SET_RETURN_PATH = 'system/smtp/set_return_path' |
| const | XML_PATH_SENDING_RETURN_PATH_EMAIL = 'system/smtp/return_path_email' |
Class that responsible for filling some message data before transporting it.
Definition at line 21 of file Transport.php.
| __construct | ( | MessageInterface | $message, |
| ScopeConfigInterface | $scopeConfig, | ||
$parameters = null |
|||
| ) |
| MessageInterface | $message | Email message object |
| ScopeConfigInterface | $scopeConfig | Core store config |
| null | string | array | \Traversable | $parameters | Config options for sendmail parameters |
Definition at line 49 of file Transport.php.
| getMessage | ( | ) |
Get message
Implements TransportInterface.
Definition at line 94 of file Transport.php.
| sendMessage | ( | ) |
Send a mail using this transport
Implements TransportInterface.
Definition at line 80 of file Transport.php.
| const XML_PATH_SENDING_RETURN_PATH_EMAIL = 'system/smtp/return_path_email' |
Configuration path for custom Return-Path email
Definition at line 32 of file Transport.php.
| const XML_PATH_SENDING_SET_RETURN_PATH = 'system/smtp/set_return_path' |
Configuration path to source of Return-Path and whether it should be set at all
Definition at line 27 of file Transport.php.