Who dares, wins! (SAS motto)
Who dares, wins! (SAS motto)
But the debug output from JavaMail says specificallyOriginally posted by kwame Iwegbue:
I'm not trying to connect through local host.
You need to set the "smtp.mail.host" property to the name or IP address of the computer where your SMTP server is running. Check with its administrator if you are not sure of what name or address you should be using.trying to connect to host "localhost", port 25
Who dares, wins! (SAS motto)
Originally posted by kwame Iwegbue:
Thank you paul.
so i guess from a regular desktop/private computer, that would be "localhost".
Originally posted by kwame Iwegbue:
props.put("smtp.mail.host", host);
I thought this refers to the receipients smtp and host. for example when sending mail to someone with yahoo email, then should use props.put("smtp.yahoo.com", 'mail.yahoo.com');
or something like this
Probably not.Originally posted by kwame Iwegbue:
so i guess from a regular desktop/private computer, that would be "localhost".
Who dares, wins! (SAS motto)
| Don't get me started about those stupid light bulbs. |