• Post Reply Bookmark Topic Watch Topic
  • New Topic

E-mail Attachments

 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sending large attachments kills the server applications console, because all attachments are printed to the output window. For a 1 MB attachment, it sucks up the system resources for about a minute (?) and ruins the output windows usefulness because it prints a billion lines of crappola...

Is there a way to avoid printing attachments when sending an e-mail?

Thx,

Tiago
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you post examples of your code, I have never seen this happen before and I have written a few applications that interface to and from pop3 and imap mail servers.
 
Hetal Shah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

try the following...

after getting the session object

set

session.setDebug( false );

i think it will not print the attachment while sending the mail

do let me know that whether it works or not ??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!