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

VALIDYNE TRANSDUCER PRESSURE SENSOR DP7
$69.99
VALIDYNE TRANSDUCER PRESSURE SENSOR DP7  pictureRE Technologies UCP-322 Electronic To Pneumatic Transducer UCO-43 Pressure Gauge
$1.99
RE Technologies UCP-322 Electronic To Pneumatic Transducer UCO-43 Pressure Gauge pictureCARLO GAVAZZI SPT-91AV7.1/AA1004 CLASS 0.5 MODULAR POWER TRANSDUCER 67002
$270.0
CARLO GAVAZZI SPT-91AV7.1/AA1004 CLASS 0.5 MODULAR POWER TRANSDUCER 67002 pictureCurrent to pressure transducer, Action Instruments C154-0121
$45.0
Current to pressure transducer, Action Instruments C154-0121 picturePressure Transducer
$250.0
Pressure Transducer  picture






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