<parameter name="smtp-host" value="my-smtp-server.foo.com"/>
</component>
Daniel Craigmile
From: Yves Vindevogel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 14, 2004 2:15 PM
To: [EMAIL PROTECTED]
Subject: Sendmail failing
Hi,
I'm running an XSP page on my server. It returns this error
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
However, my code looks like this
<sendmail:send-mail>
<sendmail:from>[EMAIL PROTECTED]</sendmail:from>
<sendmail:to>[EMAIL PROTECTED]</sendmail:to>
<sendmail:subject>Reactie op de jobaanbieding</sendmail:subject>
<sendmail:smtphost>195.238.3.128</sendmail:smtphost>
<sendmail:body><xsp:expr>body.toString()</xsp:expr></sendmail:body>
Any idea why this is not working ?
It should try to connect to 195... right ?
I have access to the outside world, so that cannot be the problem.
