Hi, Do you have an SMTP server? If so, you have to set up the IP Address. Currently 127.0.0.1 is your localhost, the same machine that you are running the program. Unless it has an SMTP server running, your configuration is not correct.
rgds ----- Original Message ----- From: "Frank Daly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 4:18 PM Subject: Sendmail error > Hi > > I've written a java application, using the JavaMail api, with which I > can send emails. I'm trying to use the sendmail logicsheet to send an > email but I get the following error: > > An error occurred: Sending failed; nested exception is: class > javax.mail.MessagingException: Could not connect to SMTP host: > 127.0.0.1, port: 25; nested exception is: java.net.ConnectException: > Connection refused: connect > > I came across a bug at > http://archives.real-time.com/pipermail/cocoon-devel/2004-July/035294.ht > ml and implemented this change but I still get the error. Is there > something else I'm missing? > > Frank > > > -------------------Legal Disclaimer--------------------------------------- > > The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt. > > -------------------------------------------------------------------------- -------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
