MMS Size | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ |
◄ ► |
Author | Message | |||
Francois Xavier Abate New member Username: Aif Post Number: 2 Registered: 02-2023 |
Hello, We are facing some issue with MMS size. We want to limit MMS Size but I don't see where I can setup this parameter, could you please help me ? Regards, | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8515 Registered: 10-2002 |
Apologies for the delay in response, we have experienced some technical problems on our we site. The setting MmsMessageSizeLimit=XXXX under the [MMSC] header of MMSC.INI sets a systemwide MMS size limit , where XXXX is a value in KB. For example, 1024 sets a limit of 1024KB or 1MB. Regards, Bryce Norwood NowSMS Support | |||
Francois Xavier Abate New member Username: Aif Post Number: 3 Registered: 02-2023 |
Hello Bryce, Thx for your answer. I put MmsMessageSizeLimit=600 on MMSC.ini (first line) but I always see MMS with size over 600KB : Size=865736 Could you please help ? Regards, | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6348 Registered: 08-2008 |
The size of an MMS message will vary based on its encoding. When encoded in MM4 (SMTP) format, binary message parts (such as photos) are encoded using MIME BASE64, which encodes 3 bytes ol data as 4 characters, which makes the mwaafw size larger. Log entries record the size in whichever encoding format is used for that particular transaction. When the MmsMessageSizeLimit= setting is set, the MM4 interface is set to accept a max size of 4*MmsMessageSizeLimit/3. So, MmsMessageSizeLimit=600 would set a limit of 4*600/3=800KB for MM4. Your example is larger than 800KB, which suggests something else may be going on.
First line? That could be a problem. It must be under the [MMSC] section header, like this: [MMSC} MmsMessageSizeLimit=600 Regards, Bryce Norwood NowSMS Support | |||
Francois Xavier Abate New member Username: Aif Post Number: 4 Registered: 02-2023 |
Hello Bryce, Thank you it works now. NowSMS server is able to re size the message ( such as photos ) if needed ? if size is over size setup through MmsMessageSizeLimit ? Regards, | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8519 Registered: 10-2002 |
No, this setting causes messages larger than the limit to be rejected with an error message. Our Linux version can resize photos to make the message smaller when routing to other MMSC connections (e.g., MM4) if necessary. This uses a different setting in MMSC.INI under the specific [VASPOUT-routeName] section header: MaxSize=#### (also in KB) This setting is probably preferable for most situations, as large messages are not rejected, they are just scaled down for recipients on a particular connection. |