dcsimg
Sending and receiving mail with large attachment (More then 5MB)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aatif_Kamal
Posted On:   Wednesday, September 26, 2001 12:18 AM

I am writing web-based application for sending and receiving emails to/from different POP3 and SMTP servers. My application works fine with emails having attachment around 1 MB. But it fails (gives, time out or connection reset error) when I try sending an email with large attachment (around 5MB). I am using Tomcat as web server and Java Mail API for the application. My question is can I send a large attachment using Mail API and if yes how….. ??

Re: Sending and receiving mail with large attachment (More then 5MB)

Posted By:   Simon_Ablett  
Posted On:   Wednesday, October 10, 2001 02:32 AM

Aatif,

Sending emails with such large attachments is not a good idea. The mail transport system was not designed for this purpose. In fact most servers will restrict the size of your attachments to 1Mb or less. If you need to transmit large data files why not use the FTP api and then simply mail the URL of the file.

Regards.
About | Sitemap | Contact