Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
2 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: how can one send html mail using xoopsmail?
by highlander on 2007/4/23 14:07:40

great post ! helped me a lot today, thanx !

highlander
Re: how can one send html mail using xoopsmail?
by banesto on 2006/12/18 15:20:20

Great Thanks to YOU!
Re: how can one send html mail using xoopsmail?
by kaotik on 2006/12/18 15:07:46

If you prefer you can use an html smarty template for your mail, here's a sample from one of my modules:
le="color: #000000"><?php $mailer = getMailer(); $mailer->useMail(); $xoopsTpl->assign('sitename', $xoopsConfig['sitename']); $xoopsTpl->assign('lastname', $lastname); $content = $xoopsTpl->fetch("db:ks_send_mail.html"); $mailer->setBody($content); $mailer->setToEmails( array($email, $xoopsModuleConfig['mailorder']) ); $mailer->setFromEmail($xoopsModuleConfig['mailcontact']); $mailer->setFromName($xoopsModuleConfig['shopname']); $mailer->setSubject($subject); $mailer->multimailer->isHTML(true); if ($mailer->send()) { //send was successful } else { $this->ok=FALSE; $this->msg.="error in buildMail():".$mailer->getErrors()."<br />"; }
Re: how can one send html mail using xoopsmail?
by kaotik on 2006/12/18 15:04:08

le="color: #000000"><?php [color=CC6600]$xoopsMailer->multimailer->isHTML(true);[/color]
Re: how can one send html mail using xoopsmail?
by banesto on 2006/12/18 13:31:24

I also tried to hack xoopsmailer.php and set headers there, but that didn't do a change..

Who's Online

223 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits