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

Avaya Nortel BCM 450 R6 6.0 VoIP Phone System 8 IP 4 SIP Gateway 4 Mailboxes NCM
$1495.0
Avaya Nortel BCM 450 R6 6.0 VoIP Phone System 8 IP 4 SIP Gateway 4 Mailboxes NCM pictureSmall Office Asterisk VoIP PBX Business Telephone System w/ 5 IP Telephones
$349.0
Small Office Asterisk VoIP PBX Business Telephone System w/ 5 IP Telephones pictureCyberData V3 VoIP Outdoor Intercom CD-011186
$497.99
CyberData V3 VoIP Outdoor Intercom CD-011186 pictureCisco Unified 7942G VoIP Phone
$17.01
Cisco Unified 7942G VoIP Phone  pictureBrand New F/S Cisco CP-7937G= Unified IP Conference Station VoIP Phone
$975.0
Brand New F/S Cisco CP-7937G= Unified IP Conference Station VoIP Phone picture






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