I’m trying to setup Mailcow and want to relay the outgoing mails to an external mail server (since I’m not able able to do all the needed DNS changes).
Under Admin, Configuration, Configuration & Details, tab Routing I add a sender-dependent transport (ie. smtp.hcc.net.nl:587 with corresponding username and password).
When I try to test it an error message is shown: No MX records for smtp.hccnet.nl:587 were found in DNS, skipping and using hostname as next-hop.
After closing the test dialog I get the message in a red box in the right hand corner:
An unknown error occured: Error Object ( [message:protected] => Class ‘PHPMailer’ not found [string:Error:private] => [code:protected] => 0 [file:protected] => /web/inc/ajax/transport_check.php [line:protected] => 79 [trace:Error:private] => Array ( ) [previous:Error:private] => )
What am I doing wrong?