File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me to run my first JavaMail app

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all.
this is my first day in JavaMail.
I want to send an email from johntodd@lycos.com to johntodd@yahoo.ca address.
I have the following class :

connecting to the internet and running the application, I got :

note : I am behind a proxy, so any special configuration here ?
thanks for help.

[ September 20, 2004: Message edited by: John Todd ]
[ September 20, 2004: Message edited by: John Todd ]
 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this and see if there is any difference:



Obviously substiture PROXY_SERVER_IPADDRESS and PROXY_SERVER_PORT for your proxy ip and port.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same result.
 
JiaPei Jen
Ranch Hand
Posts: 1309
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mine problem is similar to yours. My code is a little different but does the same thing. The servlet worked successfully. But the message was not sent.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

note : I am behind a proxy, so any special configuration here ?

Well you need to be sure that your proxy supports SMTP, which would be unusual.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic