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

<x-tad-bigger><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.
</x-tad-bigger>

Reply via email to