Hello everybody,

I am trying set the properties for mails.
Actually i am implementing JavaMail with Servlets running on JWS2.0 on
Win-NT workstation. . .

To set the properties the command is
c:\>java -D

Can anybody tell me how do i set the mail.smtp.host setting.
I mean i want the total and detailed information about using java -D option.
Kindly help . . .
OR how do i set the mail server properties through program if anybody has a
sample code please send.

When I run my servlet i get
/*Could not connect to SMTP host: localhost, port: 25;*/ error. . . which
means that my server is by default taking the localhost as the mail server
which is not. Actally the mail server is remote. I want the system to know
that the mail server is remote and i want to give the IP of the remote mail
server.

please help me. . .
If u need more details send a mail to me at   [EMAIL PROTECTED]

U can run this program from this URL
http://202.54.39.203:8080/servlet/WebSMTP
u will see the problem. . please help. .


Awaiting ur early and helpful response. . .

Thanx in advance. .

regards,
Imtiaz

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to