The Artima Developer Community
Sponsored Link

Java Answers Forum
how to find the smtp host

1 reply on 1 page. Most recent reply: May 16, 2002 10:27 AM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Bart Pelsmaekers

Posts: 12
Nickname: ikken
Registered: May, 2002

how to find the smtp host Posted: May 16, 2002 8:58 AM
Reply to this message Reply
Advertisement
I was wondering if there was a method in java to find out what the SMTP host is off the internet account that you are using and the login?

I want to use this method to write a class for sending simple text mails and i don't want the user to input these data.

tnx in advantage
Bart


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: how to find the smtp host Posted: May 16, 2002 10:27 AM
Reply to this message Reply
First & simplest, use you ISP's
If for some reasons Sun's delivered a basic implementation of an SMTP server some time back as a a mean to test the JavaMail API's (just give a look at http://java.sun.com).
You also have : http://www.abuse.net/relay.html
Usually your ISP doesn't let SMTP traffic out beyond there own relay (it generally reduces SPAM)

Thomas SMETS,
SCJP 2 - Brussels

Flat View: This topic has 1 reply on 1 page
Topic: Is it because of Windows? Previous Topic   Next Topic Topic: What is the expected frame rate of an applet in a browser?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use