BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-25-2007, 01:53 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2007
Model: 8100
PIN: N/A
Carrier: Vodafone
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Email attachment 64kb size limit?

Please Login to Remove!

I'm new to using the Blackberry API and I have a problem with sendiing email attachments more than 64kb in size. I am sending amr file voice recordings that my program has created on the BB. Files below 64kb in size email just fine. The code I am using is:

public boolean SendEmail(String emailFrom, String emailTo, String subject, String messageData, String fileName, byte[] fileData)
{
Multipart mp = new Multipart();
SupportedAttachmentPart sap = new SupportedAttachmentPart(mp, "audio/amr", fileName, fileData);
TextBodyPart tbp = new TextBodyPart(mp, messageData);
mp.addBodyPart(tbp);
mp.addBodyPart(sap);
...., etc
Transport.send(message);

Can anyone help?
Offline  
Old 09-30-2007, 04:26 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2007
Model: 8100
PIN: N/A
Carrier: Vodafone
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does anyone know if the RIM email attachment API has a 64kb limit for attachments?
Offline  
Old 09-30-2007, 07:15 PM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Location: Cincinnati, OH
Model: 8100
PIN: N/A
Carrier: Cincinnati Bell Wireless
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Kevin Boyd View Post
Does anyone know if the RIM email attachment API has a 64kb limit for attachments?
Yes, it appears there is a 64kb limitation.
__________________
www.bbsoftware.info
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Yaskawa Electric CIMR-XCBMA0P4 VS Mini Ultra-Compact All Digital Inverter
$150.0
Yaskawa Electric CIMR-XCBMA0P4 VS Mini Ultra-Compact All Digital Inverter pictureFisher Scientific Inverted Phase Contrast Microscope Cat. No. 12-560-45
$695.0
Fisher Scientific Inverted Phase Contrast Microscope Cat. No. 12-560-45 pictureLenze 8200 HVAC frequency inverter 2.2 Kw. 3~ 380 V - Used in good conditions
$500.0
Lenze 8200 HVAC  frequency inverter 2.2 Kw. 3~ 380 V - Used in good conditions pictureLenze 8200 HVAC frequency inverter 0.75 Kw. 3~ 380 V - Used in good conditions
$350.0
Lenze 8200 HVAC  frequency inverter 0.75 Kw. 3~ 380 V - Used in good conditions pictureLenze 8200 vector frequency inverter 0.37 Kw. - New without original packaging
$250.0
Lenze 8200 vector frequency inverter 0.37 Kw. - New without original packaging  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.