com.sun.mail.smtp.SMTPSendFailedException: 452 4.4.5 Insufficient disk space; try again later

14,904

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.

Share:
14,904
Deepu
Author by

Deepu

SOreadytohelp

Updated on June 04, 2022

Comments

  • Deepu
    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
      matbrgz almost 12 years
      The problem is not with your code, but the smtp server is full.
    • Deepu
      Deepu almost 12 years
      Thank you Thorbjørn for pointing at right.
  • Deepu
    Deepu almost 12 years
    Thank you sakthisundar for quick reply. Where should I check the storage space for SMTP Server?
  • Deepu
    Deepu almost 12 years
    Thank you kinaesthesia for your reply. I'll try to make space for temp files.
  • Deepu
    Deepu almost 12 years
    Thank you Kurt for your reply. Now I understand why this happnening.
  • Deepu
    Deepu almost 12 years
    Hi Thorbjørn, I dont know exactly where is SMTP Server. May be on linux server through which I am sending the mails.