hi all, how to send e-mail from a java application, with the subject and other things set by me , and not the server name if for example if my web server is tomcat ,I dont want it to show the server name even if set the subject.and i think i can do it by javamail API, but will it go to all the e-mail servers yahoo,hotmail,gmail etc. is there any universal way of doing it? thanks pradeep
Failure is not when you fall down; its only when you fail to get up again.
posted 12 years ago
You can use the JavaMail API, and you'll need an outgoing mail server to deliver the message. If you have a mail server running on the local machine, you can probably use "localhost".