OpenEMM Support Forum Index OpenEMM Support
Use this forum to get and provide free help regarding OpenEMM
 
 TOP   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Normal file attachment size

 
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases
View previous topic :: View next topic  
Author Message
BG



Joined: 04 Jul 2008
Posts: 15

PostPosted: Tue Sep 02, 2008 1:57 pm    Post subject: Normal file attachment size Reply with quote

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
View user's profile Send private message
BG



Joined: 04 Jul 2008
Posts: 15

PostPosted: Fri Sep 05, 2008 1:10 pm    Post subject: file Reply with quote

Hi

There is no plan to change this field in the database?
Is this by design?
Thank you
bg
Back to top
View user's profile Send private message
ma
Site Admin


Joined: 03 Aug 2006
Posts: 512
Location: Munich, Germany

PostPosted: Fri Sep 05, 2008 1:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
BG



Joined: 04 Jul 2008
Posts: 15

PostPosted: Fri Sep 05, 2008 2:10 pm    Post subject: file Reply with quote

Hi Ma,

Thank you for your answer.
Which file shall I change?
bg
Back to top
View user's profile Send private message
Nse



Joined: 16 Aug 2006
Posts: 5
Location: Munich

PostPosted: Mon Sep 08, 2008 5:49 am    Post subject: Reply with quote

Hi BG,

You should change the file MailingAttachmentsAction in org.agnitas.web.

nse
Back to top
View user's profile Send private message
BG



Joined: 04 Jul 2008
Posts: 15

PostPosted: Mon Sep 08, 2008 7:08 am    Post subject: file Reply with quote

Thank you NSE!
bg
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group