$options['from'
] =
['email' =>
$config->Mail, 'name' =>
$config->Shopname
];
} if (!
empty($options['from'
]['email'
])) { Enlight_Components_Mail::
setDefaultFrom( $options['from'
]['email'
],
!
empty($options['from'
]['name'
]) ?
$options['from'
]['name'
] : null
);
} if (!
empty($options['replyTo'
]['email'
])) { Enlight_Components_Mail::
setDefaultReplyTo( $options['replyTo'
]['email'
],
!
empty($options['replyTo'
]['name'
]) ?
$options['replyTo'
]['name'
] : null
);
} return $transport;
}}