hmm as far as i know the host would be your email holders pop3 or smtp server address. ie googles SMTP address for gmail is
smtp.gmail.com or pop.gmail.com
yahoo is:
smtp.yahoo.com or pop.yahoo.com etc just google it,
however you then need password authentication try using the JavaMAil API-if you arent already as java has no built in email api- however it does not come with the core jdk envrioment.
Heres an example for you of java mail api on some other forum it does password authentication to:
http://www.codemiles.com/java/email-through-java-program-t1408.html
DavidKroukamp
Practically a Master Poster
693 posts since Dec 2011
Reputation Points: 282
Solved Threads: 169
welll ... if it works, why do you assume this one does not qualify as being a "right" host name? (it's actually the host's IP address, not really a hostname)
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
it might break (I guess) but since it's still online since 2008, I doubt it'll drop within a week :)
personally, I don't know exactly what kind of services/software you need to have running to use your own machine as a mail server (possible, but not the easiest thing to do, I assume), but, as long as you don't want to receive mail that way, just send it, I think this solution will help you out just fine :)
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433