PDA

View Full Version : JavaMail



rutsmariz@yahoo.com
June 16th, 2009, 12:06 PM
i have a code which implements the java mail API to send mails, how can l send mails using host as my localhost on port 25

Zugzwang
June 16th, 2009, 12:55 PM
http://en.lmgtfy.com/?q=JavaMail+Example

rutsmariz@yahoo.com
June 16th, 2009, 01:41 PM
thanx for the link,

now how do l install an SMTP server listening on 127.0.0.1:25 on my local machine. My application only needs to send mails, and not receive, so l dont want it to send using the exchange server on my network/domain as this will mean that l will have to reconfigure everything when l port my application to another network.

thanx

Zugzwang
June 16th, 2009, 02:53 PM
http://en.lmgtfy.com/?q=SMTP+server+Ubuntu+install

Is it really so hard to use a search engine? Or is there something wrong with the information you obtain this way?

rutsmariz@yahoo.com
June 16th, 2009, 03:07 PM
thanx

why l resorted to asking, is l did install one and it never worked so l had to uninstall, l was hoping some would help me and give a simpler way of solving my problem. anyway thanx l will keep on searching.