3
hi
I got it working in my environment, but I am not sure whether this is valid for everyone.
This is the code:
$xoopsMailer = xoops_getMailer();
$xoopsMailer->multimailer->isSMTP();
$xoopsMailer->multimailer->Port = $my_port_out; // set the SMTP port
$xoopsMailer->multimailer->Host = $my_server_out; //sometimes necessary to repeat
$xoopsMailer->multimailer->SMTPAuth = true;
$xoopsMailer->multimailer->SMTPSecure = $my_securetype_out;
$xoopsMailer->multimailer->Username = $my_username; // SMTP account username
$xoopsMailer->multimailer->Password = $my_password; // SMTP account password
$xoopsMailer->multimailer->SMTPDebug = 0;
...
The biggest problem was that my mail provider use different setting for client tools like outlook or thunderbird in comparison with setting for smtp access via a CMS.
Therefore: check allways in advance which settings your provider allows