Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IP adress : Sending Mail from J2EE app through tomcat 6 server?  RSS feed

 
Deepak Kumar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I need to send a mail from j2ee app using tomcat 6 server(mail.jar is placed inside lib of tomcat server)
Am using an wireless Internet , I do not know what smtp IP address should be given, if not what is the correct IP to be given?
Please let me know how to give correct IP address for sending mails?

Thanks a lot,
Deepak
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That would be the IP address of your SMTP server. If you don't have one, then the Aspirin library (an embeddable mail sender) may help.
 
Deepak Kumar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf Dittmer for your reply!!
I am totally new to aspirin, is this the correct link https://github.com/masukomi/aspirin to aspirin??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!