Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javamail: 5.7.1 Unable to relay - problem

Status
Not open for further replies.

rxt

Technical User
Jan 6, 2004
2
NL
I have a problem with javamail trying to connect to the mailserver. I can send mails from another mailprogram like Thunderbird on my laptop, using authentication. I can send this mail to the outside world. Furthermore, I can send mail using javamail via an external mailserver (which can only be used for testing).

However, whenever I try to use Javamail, I get a "5.7.1 unable to relay" error message.

I have a user account "joe", with username "joe" and password "pwd. If the domainname is "somewhere", and the mailserver is "mail", then the logon should be:

transport.connect("mail", "somewhere\joe\joe", "pwd");

See
Any idea what I'm doing wrong here? I've tried other user accounts as well.
 
Did you go over thread858-845239 first, a lot of things get answerred in there

Marc
If 'something' 'somewhere' gives 'some' error, expect random guesses or no replies at all. Please specify details.
Free Tip: The F1 Key does NOT destroy your PC!

How Do I Get Great Answers To my Tek-Tips Questions? See faq222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top