[TYPO3-core] addAttachment: t3lib_htmlmail vs t3lib_formmail

Michael Stucki michael at typo3.org
Tue Jan 23 12:08:56 CET 2007


Hi Martin,

I agree with you. Attached is a patch that should fix this. However, I
must declare that I currently can't test if this works because I don't
have such a setup at hand.

Could someone please test it for me? Thanks!

Regards, michael

Martin Kutschker wrote:
> 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).

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: formmail.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/47207753/attachment.diff 


More information about the TYPO3-team-core mailing list