Project

General

Profile

Actions

Bug #23358

closed

t3lib_htmlmail, quoted printable and links with ids

Added by Stefan Jelner over 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

if you send a plain text email with t3lib_htmlmail and the default settings and the email contains u URL with an equal sign followed by a number, then email-clients might think it is a quoted printable representation.

to reproduce it:

$mailer = t3lib_div::makeInstance('t3lib_htmlmail');
$mailer->start();
$mailer->subject = 'Test';
$mailer->from_email = '';
$mailer->setPlain('index.php?id=9');
$mailer->send('');

i open the email in Thunerbird and i see:
index.php?id=
to fix it, you only need to replace all equal signs with =3D

$mailer = t3lib_div::makeInstance('t3lib_htmlmail');
$mailer->start();
$mailer->subject = 'Test';
$mailer->from_email = '';
$mailer->setPlain(str_replace('=','=3D','index.php?id=9'));
$mailer->send('');

(issue imported from #M15367)

Actions

Also available in: Atom PDF