Results 1 to 1 of 1
- 01-27-2010, 09:55 AM #1
Member
- Join Date
- Jan 2010
- Location
- SF Bay Area, CA
- Posts
- 1
- Rep Power
- 0
Valid syntax for JavaMail host property?
I am adding email sending to my Tomcat/Spring web app, and
i have read all the docs and samples, and articles i could find on JavaMail
but i have yet to locate a description of the set of valid formats
for the "host" property, only the obvious example.
The obvious case of "smtp.domain.com" for an external internet
smtp server, i get. I have not dealt with network programming before.
But my web app is for use ONLY on an intranet (LAN) inside
a customer firewall, and i haven't found any examples for this case.
Can i use a IP address instead of a url, like "10.10.44.22" ?
or can i just use a the "host name" of the local server system running
the smtp server i.e. String host = "fooserv1";
If a plain host name can be used, what configuration has to be done
on the server running my web app Tomcat instance so it can resolve
the host name. ( my customer is running Tomcat on a virtual host
under Windows XP Pro )
Similar Threads
-
copy file from local host to remote host
By isotoper in forum New To JavaReplies: 4Last Post: 12-24-2009, 04:41 PM -
Be Elite Join Property Elite , Property Realtor Needed , Career With Us -
By mindyyong in forum Jobs OfferedReplies: 0Last Post: 06-25-2009, 05:28 AM -
Unable to connect to MySQL on another (unix) host from Eclipse on my windows host
By kairamr in forum EclipseReplies: 0Last Post: 10-31-2008, 07:07 PM -
Valid declarations
By heat84 in forum New To JavaReplies: 1Last Post: 12-22-2007, 02:29 AM -
Help with valid declarations of a float
By baltimore in forum New To JavaReplies: 1Last Post: 07-31-2007, 10:28 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks