[TYPO3-core] addAttachment: t3lib_htmlmail vs t3lib_formmail

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Jul 12 15:51:08 CEST 2006


Hi!

Why does t3lib_formmail replace its parents method? The base method is IMHO 
superiuor (though not perfect *). So IMHO potentially t3lib_formmail has 
less features than t3lib_htmlmail!

Masi

* Home brewn mime detection instead of a standard TYPO3 function. MIME type 
is determined potentially with a second request (getURL($url,2) HEAD) 
instead the first call (getURL($url,1)).

How about getURL($url,3)? Works like getURL($url,1) but returns an 
array('content'=>$content,'headers'=>$arrayOfHeaders).



More information about the TYPO3-team-core mailing list