[TYPO3-english] Mailer ruins my link

Jeppe Donslund jd at webmasters.dk
Tue Mar 17 08:46:46 CET 2009


I use the Mailer in TYPO3 4.2.6, but the link I create gets ruined.

index.php?id=120&tx_wmktwebshop_pi1[pointer]=0&tx_wmktwebshop_pi1[aid]=103

all =120, =103 changes to "square"0 it removes =12, =10

I use iso-8859-1 otherwise I have problems with danish characters. (æøå).

Any idea?

The code:

require_once('t3lib/class.t3lib_htmlmail.php');
$mail = new t3lib_htmlmail();
$mail->start();
$mail->charset = 'iso-8859-1';
$mail->plain_text_header = "Content-Type: text/plain; 
charset=iso-8859-1\nContent-Transfer-Encoding: quoted-printable";
$mail->html_text_header = "Content-Type: text/html; 
charset=iso-8859-1\nContent-Transfer-Encoding: quoted-printable";
$mail->recipient = $this->piVars['tipenven']['friend_email'];
$mail->subject = $this->pi_getLL('email_subject','A product');
$mail->from_email = $this->piVars['tipenven']['your_email'];
$mail->from_name = $this->piVars['tipenven']['your_name'];
$mail->returnPath = 'no-reply at masters.dk';
$mail->replyto_email = $this->piVars['tipenven']['friends_email'];
$mail->replyto_name = $this->piVars['tipenven']['friends_name'];
$mail->setHtml($mailindhold);


More information about the TYPO3-english mailing list