hi... can any one say! How send a mail using servlet... I had just download one smtp serverand i run a example program in tomcat it says mail sent. but the mail server not sent that mail. but smtp server continue to retry to sent mail.
can any one say which is best server for sending mail and how to configur it?
Tanks in advance...
[Bear edit: removed instructions to respond via email. All responses should take place in the forum] [ February 13, 2006: Message edited by: Bear Bibeault ]
There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
The JavaMail API is best discussed in the Other Java APIs forum. This topic has been moved there.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35229
7
posted
0
Before you try to send email from a servlwt, you should make sure that the mail server works in general. Can you connect to it from your email client, and use it to send mail?
firstly you need to make sure the application you use to send mail, is it can send the mail to the mail server or SMTP server? if the mail can send to the server, that's mean you application is no problem. if you mail can reach the server but not reach the recipient server, that because some reason, maybe block by the recipient server, mayb you server cannot get the connection from the recipient mail server. go and check it out
JAVA the only can called technology
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.