on 02-02-2006 1:48 PM
Hello,
I would like to ask for detailed information about how to enable the mail sending in the case of order confirmation etc.
I would like to have any available documentation about the administration and the configuration of javamail and also about inserting email functionality in jsp.
Specifies the version of the system
Cluster-Version: 6.40 PatchLevel 98256.313
Project-Dir:JKernel/630_VAL_REL
Build java version:1.3.1_12-b03 Sun Microsystems Inc.
SP-Number: 14
Regards,
Thanassis
hi koustenis,
this javamail article give you more details on administration and configuration of javamail.
http://java.sun.com/products/javamail/?theserverside
Thanks
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kishor,
The scenario is simple. I have CRM ISA 4.0 b2c site and I want to enable the mailing system (if it has). I can see at the J2EE Visual Administrator for Web As 6.40, under J2E->Server->Services->Java Mail Client that there are settings for the JavaMail, but the question is if/how the JavaMail is connected with the ISA 4.0 b2c/b2b application.
Retards,
Thanassis
Hi Thanassis,
Unfortunately, I've no deeper knowledge of the ISA 4.0 b2c/b2b application (and any specifics it might have) but I'll try to explain in general how the JavaMail service on the J2EE engine is used by a J2EE web application. And I'm pretty sure you'll be able to map that to your specific case.
The key thing in using the JavaMail service is to get the javax.mail.Session object in your application. The recommended way to do it is to look it up from the JNDI. For more information, see the following .
To be able to look it up from the java:comp/env context, you need to set a reference to the MailSession object in the web.xml as follows:
<resource-ref>
<description>Reference to mail resource</description>
<res-ref-name>mail/MailSession</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
The rest does not differ from the standard way of using the JavaMail APIs, as described <a href="http://java.sun.com/developer/onlineTraining/JavaMail/contents.html#JavaMailUsage">here</a>.
Hope that helps!
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.