dcsimg
Specific question:Which SMTP server and How to connect with msgsend.java?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yashodhan_Damle
Posted On:   Tuesday, March 12, 2002 04:03 AM

Which SMTP server and How to connect with msgsend.java?


I had specifically asked which SMTP server to be used .


The answer from you is:


Use the SMTP server you normally use when you send mail.

But which SMTP server?Please specify.How to connect it with msgsend.java?

Re: Specific question:Which SMTP server and How to connect with msgsend.java?

Posted By:   Anonymous  
Posted On:   Thursday, March 14, 2002 10:20 AM

You need to check which Smtp Server your provider uses.
You could find this out if you have an OutLook client configured.
Go to Accounts> Servers and check the entry under Outgoing mail. If you are using web-based email like Hotmail, etc then it's not as easy since they uses the HttpMail protocol.
Once you have the ip address then the rest is the same i.e
get a session, create your mail, get a transport object and

transport.sendMessage(msg,msg.getAllReceipients())
About | Sitemap | Contact