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

1794-L34 /B Allen Bradley FlexLogix Processor 512KB Memory
$799.99
1794-L34 /B Allen Bradley FlexLogix Processor 512KB Memory  pictureCopier 512MB Random Access Memory 04472-1006-0311 Samsung K4H510838C
$12.0
Copier 512MB Random Access Memory 04472-1006-0311 Samsung K4H510838C picturePC-Based USB 4CH 250MHz Oscilloscope 1GSa/s Memory Depth 64K Support Win 7 8 10
$288.0
PC-Based USB 4CH 250MHz Oscilloscope 1GSa/s Memory Depth 64K Support Win 7 8 10 pictureAllen Bradley 16k EEPROM Memory Cartridge 1785-ME16/A
$29.99
Allen Bradley 16k EEPROM Memory Cartridge 1785-ME16/A pictureINTEL C1702A 2048-BIT 256X8 STATIC EPROM GOLD LEADS
$19.95
INTEL C1702A 2048-BIT 256X8 STATIC EPROM GOLD LEADS  picture






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