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

ries van Twisk typo3 at rvt.dds.nl
Mon Dec 17 20:13:57 CET 2007


On Dec 17, 2007, at 2:04 PM, Steffen Kamper wrote:

> Hi,
>
> "Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im
> Newsbeitrag
> news:mailman.1.1197912447.21665.typo3-team- 
> core at lists.netfielders.de...
>> Ernesto Baschny [cron IT] schrieb:
>>> 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.
>>
>> +1 on reading but two suggestions
>>
>> Perhaps the size in TYPO3_CONF_VAR can be in kb rather than byte.
>>
> looking to the other sizes with TYPO3_CONF_VARS they are all in  
> Bytes, so
> this is ok (or change all ?!?).
>
>> Maybe maxAttachmentSizeFormmail instead formmailMaxAttachmentSize  
>> to be in
>> line with the previous two "formmail" config vars.
>
> this is ok.
>
> vg  Steffen
>


You could add modifiers:
For example

TYPO3_CONF_VARS['somevariable'] = '2M';
or
TYPO3_CONF_VARS['somevariable'] = '2048K';

Just an idea,

Ries









More information about the TYPO3-team-core mailing list