× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Sorry, ignore this. It turned out that the SMTP server was out of disk space. Generic error messages FTW!


-----Original Message-----
From: Paul Bailey
Sent: 23 February 2012 11:53
To: Java Programming on and around the IBM i
Subject: Javamail api "disk space" problem

Hi,

We have had a class using the javamail api up and running for several years (javamail 1.2). It basically builds an email from various data on the 400 and possibly adds attachment files from the IFS as mime body parts.

A new feature I've developed has ended up creating spreadsheet attachments that are slightly larger than previous attachments (they are only 760kb, but still 200% bigger than anything else we send!) and now the emailer class is receiving a SendFailedException noting insufficient disk space.

javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 452 4.4.5 Insufficient disk space; try again later
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at javax.mail.MessagingException.<init>(MessagingException.java:55)
at javax.mail.SendFailedException.<init>(SendFailedException.java:76)
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at classes.mail.SendEmail.SendMessage(SendEmail.java:674)
at classes.mail.SendEmail.Send(SendEmail.java:170)

Does anyone know what is meant by " Insufficient disk space "? It doesn't mean actual disk space because the 400 still has well over 1.5 TB to play with, so I was wondering if there is a limit somewhere that maybe a previous programmer set that nobody else here is aware of.

Any help would be appreciated.


-Paul.

Important

This email transmission and any files with it are strictly
confidential to the intended recipient and may be legally
privileged. Any views or opinions presented are solely
those of the author and do not necessarily represent those
of BHSF. If you are not the intended recipient, you must
not copy, disclose or distribute its contents in any way.
If you have received this e-mail in error, please notify
the sender and delete the e-mail from your system.

We have taken steps to ensure this e-mail and attachments
are free from any virus but do not accept any
responsibility once this e-mail has been transmitted. You
should scan any attachments for viruses.

No contract may be concluded on behalf of BHSF Limited by
e-mail.

Registered Office:
BHSF Limited
Gamgee House, 2 Darnley Road, Birmingham B16 8TE.

www.bhsf.co.uk

Registered in England number 35500.

BHSF is authorised and regulated by the Financial Services
Authority.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.