• 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

JavaMail thru proxy server

 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do I send mail via (from behind) a proxy server. I could not find any method to set the proxy server settings.
TIA
Sanjay
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sanjay,
I didn't find anything in the JavaMail spec about mailing from behind a proxy. I.e., I don't believe there's native support for mailing through a proxy, but you might be able to do it with some of the Transport/Message implementations.
In my experience with proxy software (Wingate), in order to make use of the software, you had to specify the email host in a special way (I think it was delimited with a # sign). I haven't tried, but that may work with JavaMail.
This same question was posted to jGuru, but the reply wasn't particularly helpful:
http://www.jguru.com/faq/view.jsp?EID=21068
Best of Luck!
-Joel
 
That is a really big piece of pie for such a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic