1
kerkyra
new xoopsMailer
  • 2011/3/10 16:20

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


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??

Login

Who's Online

423 user(s) are online (327 user(s) are browsing Support Forums)


Members: 0


Guests: 423


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits