1
hallo there
i have set my mail setup to php mail
trying to send an email when a user submits a form and i get the following error
Warning: implode() [function.implode]: Invalid arguments passed in file /class/mail/xoopsmultimailer.php line 164
any ideas guys?
the code i use to create the mail and send it is the following
Quote:
$xoopsMailer =& xoops_getMailer();
$xoopsMailer->reset();
$xoopsMailer->useMail();
$member_handler =& xoops_gethandler('member');
$xoopsMailer->setToGroups($member_handler->getGroup($xoopsConfigUser['activation_group']));
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
$xoopsMailer->setFromName($xoopsConfig['sitename']);
$xoopsMailer->setSubject($xoopsConfig['sitename']);
$xoopsMailer->setBody('body');
$xoopsMailer->send();
the line in which the error comes up reads this (in multimailer class)
$this->Host = implode(';', $xoopsMailerConfig['smtphost']);
why is it using the smtphost since i have php mail in my setup??