[TYPO3-core] RFC: Feature Request #2797: sendFlag for mail in htmlmail

Daniel Pötzinger operation-lan at gmx.de
Sat Jan 12 19:20:14 CET 2008


Oliver Klee schrieb:
> Hi,
> 
> -1 because the function already returns a boolean that indicates
> success/failure. We should use that instead (and properly document it in
> the function comment).
> 
> In addition, using a member variable to indicate the return value of a
> function makes my programming-style hairs stand on end ...
> 
I fully agree on oliver. At least the core development should follow 
clean development.

Why not just return false if mail send fails?


More information about the TYPO3-team-core mailing list