Project

General

Profile

Actions

Feature #17849

closed

Mailform / auto_respond_msg with slashes

Added by Stefan Padberg over 16 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-11-25
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

It would be nice to be able to send slashes with the auto respond message, i.e. if you want to pass an URL to the recipient.

It is very easy to do:

File 'class.t3lib_htmlmail.php', line ~730

replace
$theParts1 = str_replace("/",chr(10),$theParts1);

with:
$theParts[1] = str_replace("//","###doubleslash###",$theParts[1]);
$theParts[1] = str_replace("/",chr(10),$theParts[1]);
$theParts[1] = str_replace("###doubleslash###","/",$theParts[1]);

Then the user is able to enter two slashes if he wants to have one in the auto_respond_msg.

Nice, isn't it?
Stefan Padberg, Wuppertal

(issue imported from #M6832)

Actions #1

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Stefan Padberg almost 11 years ago

I don't know. I now use almost always powermail for the mail forms. Since I discovered powermail this issue is obsolete for me.

The new forms generator of Typo3 6.x will include this feature as well like powermail, I presume. So I think this feature is probably obsolete.

Actions #3

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to Closed

Closed as commented.

Actions #4

Updated by Mario Rossi almost 11 years ago

  • Status changed from Closed to New

I'd like to reopen this one.
It's still an issue (tested with 4.7.12).
As the new form extension is tricky for the usual content editor, we still use the old form CE.

I'm not a programmer, but in the solution from Stefan Padberg I assume that doubleslashes will never be replaced by line breaks. But what if I want two oder more line breaks? In this case I had to use / / instead of // which adds an ugly space per line.

Maybe there's another solution? \/\/ for example?

Cheers
Mario

Actions #5

Updated by Benni Mack over 9 years ago

  • Status changed from New to Needs Feedback

t3lib_htmlmail was removed from the core. IMHO This is neither critical / priority (so it would go into 4.5) nor something we need to fix in 6.2 then, right?

Sorry for the long delay!

Actions #6

Updated by Alexander Opitz almost 9 years ago

  • Status changed from Needs Feedback to Closed

Closing again.

Actions

Also available in: Atom PDF