Project

General

Profile

Actions

Bug #41375

closed

Swift Mail Adapter fails to handle additional Paramters

Added by Julius about 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-09-26
Due date:
% Done:

0%

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

Description

t3lib_mail_SwiftMailerAdapter -> mail:

the $additionalParameters Parameter used to extract a potential return path.
This is done by the following regular expression:
/-f\s*(\S*?)/
But the subpattern returns an empty string, due to the nongreedy operator, if it matches.
This expression should be:
/-f\s*(\S*)/.

Actions #1

Updated by Julius about 12 years ago

Ignore the point at the and of the expression:
/-f\s*(\S*)/

Actions #2

Updated by Stefan Galinski about 12 years ago

Hi Julius,

You can use this patch as your initial contact with the review system of TYPO3 (if it not already happened). Just follow the instructions in the wiki. :-)

http://wiki.typo3.org/Category:Contribution_Walkthrough

Actions #3

Updated by Wouter Wolters almost 10 years ago

  • Status changed from New to Needs Feedback
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?

Actions #4

Updated by Jigal van Hemert almost 10 years ago

  • Status changed from Needs Feedback to Closed

The adapter was only included as a temporary solution until extensions used the new mail API. Major extensions use it for quite a while and this adapter shouldn't be necessary in 4.5 installations. In newer core versions the adapter was deprecated and removed.
It was also decided by the Release Manager and release team that no improvements to this adapter would be made because it was only a temporary solution.

Actions

Also available in: Atom PDF