lib/classes/Swift/Transport/EsmtpTransport.php
protected function doMailFromCommand($address)
    {
        $address = $this->addressEncoder->encodeString($address);
        $handlers = $this->getActiveHandlers();
        $params = [];
        foreach ($handlers as $handler) {
            $params = array_merge($params, (array) $handler->getMailParams());
        }
        $paramStr = !empty($params) ? ' '.implode(' ', $params) : '';
        $this->executeCommand(
            sprintf("MAIL FROM:<%s>%s\r\n", $address, $paramStr), [250], $failures, true
            );
    }
protected function doMailFromCommand($address)
    {
        $address = $this->addressEncoder->encodeString($address);
        $handlers = $this->getActiveHandlers();
        $params = [];
        foreach ($handlers as $handler) {
            $params = array_merge($params, (array) $handler->getMailParams());
        }
        $paramStr = !empty($params) ? ' '.implode(' ', $params) : '';
        $this->executeCommand(
            sprintf("MAIL FROM:<%s>%s\r\n", $address, $paramStr), [250], $failures, true
            );
    }
protected function doMailFromCommand ( $ address ) { $ address = $ this -> addressEncoder -> encodeString ( $ address ) ; $ handlers = $ this -> getActiveHandlers ( ) ; $ params = [ ] ; foreach ( $ handlers as $ handler ) { $ params = array_merge ( $ params , ( array ) $ handler -> getMailParams ( ) ) ; } $ paramStr = ! empty ( $ params ) ? ' ' . implode ( ' ' , $ params ) : '' ; $ this -> executeCommand ( sprintf ( "MAIL FROM:<%s>%s\r\n" , $ address , $ paramStr ) , [ 250 ] , $ failures , true ) ; }
Overridden to add Extension support
Overridden to add Extension support