SMTP server connections

I have a doubt about SMTP server connections. I use a SMTP server to send out emails from our office here. Theres a java program to do this. If I send out this programs class file to other people, will they be able to use the same smtp server connection? do they need to authenticate to the server? or do i have to use their smtp servers in the program instead of ours so that the email is sent out? If I have to do that what is the way to find out from windows what SMTP server a user is using?

thanks

Harmeet

[529 byte] By [harmeetsinghbawaa] at [2007-10-2 6:16:48]
# 1

The answers to all these questions depend in large part on how the SMTP server is configured. It is not just a function of the client. Usually, just to prevent spammer abuse, some rudimentary level of authentication is done.

Normally, some amount of user input is required to configure the client, e.g. look at what the user has to do to configure Outlook Express or Thunderbird. I don't know how you might query this information on a Windows machine, and I'm sure it would be client-dependent anyways.

ghstarka at 2007-7-16 13:18:34 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 2
hiI want to know that how to configure smtp server in java to send mail.Plz reply methanksajeet
ajeet84a at 2007-7-16 13:18:34 > top of Java-index,Security,Other Security APIs, Tools, and Issues...