Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes IP adress : Sending Mail from J2EE app through tomcat 6 server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "IP adress : Sending Mail from J2EE app through tomcat 6 server?" Watch "IP adress : Sending Mail from J2EE app through tomcat 6 server?" New topic
Author

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

Deepak Kumar
Ranch Hand

Joined: Nov 05, 2007
Posts: 62
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

Thanks,
Deepak
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
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.


Ping & DNS - my free Android networking tools app
Deepak Kumar
Ranch Hand

Joined: Nov 05, 2007
Posts: 62
Thanks Ulf Dittmer for your reply!!
I am totally new to aspirin, is this the correct link https://github.com/masukomi/aspirin to aspirin??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: IP adress : Sending Mail from J2EE app through tomcat 6 server?
 
Similar Threads
InetAddress
javamail and pstn connection
InetAddress
problem running webapp on remote server
Applets - web application