• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

E-mail Attachments

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ??
reply
    Bookmark Topic Watch Topic
  • New Topic