Index: L:/x-htdocs/t3/41dev/t3lib/class.t3lib_formmail.php =================================================================== --- L:/x-htdocs/t3/41dev/t3lib/class.t3lib_formmail.php (revision 2185) +++ L:/x-htdocs/t3/41dev/t3lib/class.t3lib_formmail.php (working copy) @@ -169,7 +169,7 @@ $theName = $_FILES[$varname]['name']; if ($theFile && @file_exists($theFile)) { - if (filesize($theFile) < 250000) { + if (filesize($theFile) < $TYPO3_CONF_VARS['FE']['maxMailAttachmentSize']) { $this->addAttachment($theFile, $theName); } }