Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Message size exceeds fixed maximum message size

 
s mahen perera
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Someone please help me with this. I am getting the following error when sending big attachments using the Java Mail API. Any clue as to how i can increase this maximum mail size?

javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 552 4.3.1 Message size exceeds fixed maximum message size

Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like an SMTP server configuration issue. If its coming from your own SMTP server, you could see what you can do to increase the allowed size (your server documentation should cover this somewhere).
 
s mahen perera
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. Thanks Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic