File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39537
    
  27
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 - updated with new look and Ping home screen widget
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??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IP adress : Sending Mail from J2EE app through tomcat 6 server?
 
Similar Threads
Applets - web application
InetAddress
javamail and pstn connection
InetAddress
problem running webapp on remote server