Fabio Rossi wrote:
> Here's sendMail method:
>
> Properties props = new ConfigLoader().loadConfigFile();
> String prop;
> prop=(String)props.get("summary_header");
> if(prop!=null)
> summary=prop+"\n"+summary;
>
Running in tomcat 6.x?
Any chance there is a jndi and smtp config setup in tomcat that is
messing with this? Post the code for the sendMail method and any custom
code it calls.
review your web.xml and tomcat configurations for smtp related stuff.
David Smith wrote:
> Seems to me the important p
Here's sendMail method:
Properties props = new ConfigLoader().loadConfigFile();
String prop;
prop=(String)props.get("summary_header");
if(prop!=null)
summary=prop+"\n"+summary;
prop= (String) props
Seems to me the important part of this is the sendMail method. Could
you post that?
--David
Fabio Rossi wrote:
Hi. I'll try to explain my problem, that is about sending an email with
JavaMail API from a servlet. Anyway, it seems to be a more general problem i'm
having with servlet. I'm usin
Hi. I'll try to explain my problem, that is about sending an email with
JavaMail API from a servlet. Anyway, it seems to be a more general problem i'm
having with servlet. I'm using Tomcat 5.0. I've a servlet that process a
request, writes to a database some info and then send a email with a sum