Hi
Du musst dem Mailer noch vor dem Senden mitteilen, das die Mail als HTML gedacht ist:
Code:
$mail->IsHTML(true);
Um Mails mit einer Zeile Code zu versenden kannst du auch die Utility-Klasse von Joomla nutzen http://api.joomla.org/Joomla-Framewo.../JUtility.html
Code:
JUtility::sendMail(string $from, string $fromname, mixed $recipient, string $subject, string $body, [boolean $mode = 0], [mixed $cc = null], [mixed $bcc = null], [mixed $attachment = null], [mixed $replyto = null], [mixed $replytoname = null])
Cheers
Roger
Lesezeichen