com.sun.mail.smtp.SMTPSendFailedException: 452 4.4.5 Insufficient disk space; try again later
Solution 1
I suppose there is no sufficient space in your SMTP server. The error code 452 from RFC821 confirms the same. So check out for storage space in your SMTP server.
Solution 2
Seems to me the error message is clear in itself: the server on which you are trying to send a mail from has insufficient disk space left.
Solution 3
The mailserver cannot write the temporary files needed to allow you to collect your mail.
You should ask your ISP to check disk useage and allocation on the server.
Comments
-
Deepu about 2 years
I am trying to send email through org.apache.commons.mail api in Java under Linux Centos.
I was able to send emails, but now suddenly when I am trying to send email I am getting the error -
com.sun.mail.smtp.SMTPSendFailedException: 452 4.4.5 Insufficient disk space; try again later at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2114) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1618) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119) at javax.mail.Transport.send0(Transport.java:195) at javax.mail.Transport.send(Transport.java:124)
I am not understanding why this is happening. Can anybody please help me to resolve this problem.
Thank you
-
matbrgz almost 12 yearsThe problem is not with your code, but the smtp server is full.
-
Deepu almost 12 yearsThank you Thorbjørn for pointing at right.
-
-
Deepu almost 12 yearsThank you sakthisundar for quick reply. Where should I check the storage space for SMTP Server?
-
Deepu almost 12 yearsThank you kinaesthesia for your reply. I'll try to make space for temp files.
-
Deepu almost 12 yearsThank you Kurt for your reply. Now I understand why this happnening.
-
Deepu almost 12 yearsHi Thorbjørn, I dont know exactly where is SMTP Server. May be on linux server through which I am sending the mails.