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

Vintage Ammeter voltmeter gauge indicator meter- Simpson Hetes, Weston, Electro
$24.99
Vintage Ammeter voltmeter gauge indicator meter- Simpson Hetes, Weston, Electro pictureUSB Ammeter USB Voltage Meter Current Voltage Detect Battery Capacity Tester KY
$0.01
USB Ammeter USB Voltage Meter Current Voltage Detect Battery Capacity Tester KY picture2x Electric Probe Pen Detector Digital Multimeter Voltmeter Ammeter Cable Tester
$1.39
2x Electric Probe Pen Detector Digital Multimeter Voltmeter Ammeter Cable Tester pictureDigital Voltmeter Ammeter Categories Ohmmeter Multimeter Volt AC DC Tester Meter
$16.98
Digital Voltmeter Ammeter Categories Ohmmeter Multimeter Volt AC DC Tester Meter picture dc 0-300v amp volt digital multimeter, 0-20a five-wire ammeter voltmeter,
$19.94
 dc 0-300v amp volt digital multimeter, 0-20a five-wire ammeter voltmeter, picture






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