Here is a part of my config:
$rcmail_config['default_host'] =array('mail.domain1.com' => 'Domain1', 'mail.domain2.net' => 'Domain2') ;
$rcmail_config['default_port'] = 143;
$rcmail_config['username_domain'] =array('mail.domain2.net' => 'Domain2', 'mail.domain1.com' => 'Domain1');
$rcmail_config['mail_domain'] =array('mail.domain2.net' => 'Domain.net', 'mail.domain1.com' => 'domain1.com');
$rcmail_config['smtp_server'] = 'mail.domain2.net';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';
It does not send emails with this config, however when I change rcmail_config to blank
$rcmail_config['smtp_server'] = '';
It'll send emails, but unfortunately the hostname used is a real name my provider is using such as mail123.provider.com
What do I need to change to get it to work? I ma able to send/receive emails using other email clients.
Thank you