sedj,
thanks very much for your help.
I haven't solved the problem yet, but I have a new starting point.
You are correct, when you say that your test above is working fine, I tried it myself and it's working.
It seems that the problem is not my code, but the surrounding intranet environment...
OK, here is the code from the Java class, I think this will be the relevant part.
Properties props = new Properties();
props.setProperty("mail.transport.protocol", "smtp");
props.setProperty("mail.host", sHost);
props.setProperty("mail.user", sUser);
props.setProperty("mail.password", sPass)...
Hello,
I'm currently trying to get the following scenario working:
I have a HTML form fields for text input and a file upload field. On submit the content of the fields should be e-mailed to a certain address with the uploaded file as attachment. I realize this with a Java Servlet and Java...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.