Send Mail through servlet
1 posts in topic
Flat View  Flat View

Posted By:   stanley_ten
Posted On:   Tuesday, June 4, 2002 09:21 PM

I have a mail server outside my company. And i'm connecting to the mail server through a gateway.

I have tried using :

Properties props = System.getProperties();

props.put("mail.smtp.host", "");

but it throw exception "Could not connect to SMTP host"

So what do i need to do? Any suggestion?

Thank you.

Re: Send Mail through servlet

Posted By:   John_Zukowski  
Posted On:   Wednesday, June 5, 2002 12:00 AM

Read the rest of the stack trace to see why, and/or find another mail server... :-)
About | Sitemap | Contact