[TYPO3-core] RFC #5065: Feature: Make hardcoded (250000 bytes) max attachment size for mailform configurable

Steffen Kamper steffen at sk-typo3.de
Mon Dec 17 17:50:57 CET 2007


"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1197909725.5085.typo3-team-core at lists.netfielders.de...
> This is an SVN patch request.
>
>
> Type: New feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5065
>
> Branches: trunk
>
>
> Problem:
> People using the integrated mailform functions can't create forms where
> users would be able to send attachments larger than 250000 bytes. Larger
> attachments very common requirement.
>
> The value is hardcoded in class.t3lib_formmail.php, has been raised to
> 250000 some years ago but instead it should be configurable.
>
>
> Solution:
> The old default stays, but is now configurable via Install-Tool.
>
>
> How to test:
> Create a "Form" content element with:
>
> Name: | Name=input
> Attachment: | attachment1=file,10000000
>
> | formtype_mail=submit | Send form!
> | html_enabled=hidden | 1
> | subject=hidden | Test with Attachment
>
> Try to send a 2 Mb attachment. Doesn't work. Now apply the patch and set
> in Install Tool > All Configuration:
>
> $TYPO3_CONF_VARS['FE']['formmailMaxAttachmentSize'] = '10000000';
>
>
> Attached patch. Thanks for Steffen Kamper for the first patch version.
>

thanks for finding this patch again :-)

+1 by reading and testing.

vg  Steffen 




More information about the TYPO3-team-core mailing list