| View previous topic :: View next topic |
| Author |
Message |
BG
Joined: 04 Jul 2008 Posts: 15
|
Posted: Tue Sep 02, 2008 1:57 pm Post subject: Normal file attachment size |
|
|
Hi All,
I found this in the documentation:
1. There is also a difference between the Original size and the Size in e-mail. The reason is that the software converts the file attachment into a sendable format (ASCII-Format) which is about 30 to 40 per cent larger than the original format.
2.Please be aware that the maximum file size is 1 MByte (due to the default settings of the MySQL database for BCOB data fields).
But I'm unable to attach a 448Kb PDF file because I receive "The file you want to upload exceeds the maximum file size for attachments." error.
If I put this pdf into zip it accepts the attachment.
Why it accept the compressed file?
How can I increase the attachment's size?
Can I change the data tpye of the field in the opemm's database to Large BLOB?
Thank you in advance
BG |
|
| Back to top |
|
 |
BG
Joined: 04 Jul 2008 Posts: 15
|
Posted: Fri Sep 05, 2008 1:10 pm Post subject: file |
|
|
Hi
There is no plan to change this field in the database?
Is this by design?
Thank you
bg |
|
| Back to top |
|
 |
ma Site Admin
Joined: 03 Aug 2006 Posts: 512 Location: Munich, Germany
|
Posted: Fri Sep 05, 2008 1:54 pm Post subject: |
|
|
We don't know if this is a bug in MySQL, but it behaves differently if you store a PDF file instead of a file with a different format.
You can change the code to set the limit higher but we know from experience that in this case at least some versions of MySQL will cause an exception. _________________ The OpenEMM Team |
|
| Back to top |
|
 |
BG
Joined: 04 Jul 2008 Posts: 15
|
Posted: Fri Sep 05, 2008 2:10 pm Post subject: file |
|
|
Hi Ma,
Thank you for your answer.
Which file shall I change?
bg |
|
| Back to top |
|
 |
Nse
Joined: 16 Aug 2006 Posts: 5 Location: Munich
|
Posted: Mon Sep 08, 2008 5:49 am Post subject: |
|
|
Hi BG,
You should change the file MailingAttachmentsAction in org.agnitas.web.
nse |
|
| Back to top |
|
 |
BG
Joined: 04 Jul 2008 Posts: 15
|
Posted: Mon Sep 08, 2008 7:08 am Post subject: file |
|
|
Thank you NSE!
bg |
|
| Back to top |
|
 |
|