In case $relaySib is not enabled - nothing happens, $this->transport remains null, therefore sendMessage() will do literally nothing - as a result no single transactional e-mail in Magento can be sent.
As a fix, $this->transport = new Zend\Mail\Transport\Sendmail($parameters); can be added in constructor method to provide default fallback solution in case SMTP communication is disabled.
Hi, please take a look at: https://github.com/sendinblue/magento2-plugin/blob/master/Model/Transport.php#L57
In case
$relaySib
is not enabled - nothing happens,$this->transport
remainsnull
, thereforesendMessage()
will do literally nothing - as a result no single transactional e-mail in Magento can be sent.As a fix,
$this->transport = new Zend\Mail\Transport\Sendmail($parameters);
can be added in constructor method to provide default fallback solution in case SMTP communication is disabled.Kind regards, Adam