[TYPO3-core] RFC #16591 The new Swift Mailer should be used by TYPO3 for sending all kinds of mail

Jigal van Hemert jigal at xs4all.nl
Sun Nov 28 23:37:37 CET 2010


Hi,

This is a SVN patch request.

Type: Bugfix / Clean up

BT reference: http://bugs.typo3.org/view.php?id=16591

Branches: trunk

Problem:
Currently t3lib_utility_Mail::mail() is used by various core functions 
to send emails. The new Swift Mailer classes provide more transport 
mechanisms to send mails (e.g. SMTP / sendmail / mail).

Solution:
A hook subscriber for a hook in t3lib_utility_Mail::mail() can be used 
to let the core send mails via Swift Mailer without modifications to 
existing code.

How to test:
Configure SMTP for Swift Mailer and see that with the path system mails 
(such as BE login notifications) are sent via that SMTP connection.

Notes:
This idea was discussed in the v4 list and the functionality was 
approved by both RMs.

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16591 .patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101128/78314827/attachment-0001.asc>


More information about the TYPO3-team-core mailing list