About the CAF Simple Email Deliverer
You create a view that sends e-mail from a Composite Application Framework application. Add the Simple Email Deliverer control to a form View Declaration Language (VDL) file. The Simple Email Deliverer is a content provider that has no user interface but provides sample fields that you can use in your application. The sample property group of form fields in the Simple Email Deliverer are defined to accept data required to support the JavaMail API for SMTP. You should create a user interface for the Simple Email Deliverer that meets your specific user interface requirements. You can modify or replace the sample user interface elements generated when you drop the Simple Email Deliverer into a view. You must update the Composite Application Framework application project’s web.xml with the resource environment variables for the mail session.
If the Composite Application Framework application is deployed to My webMethods Server, verify that the E-mail server settings are properly configured in Administration > My webMethods > E-Mail Servers.
If the Composite Application Framework web application is deployed to another instance of My webMethods Server, use the Administering My webMethods Server documentation for steps required to set up a mail session. In the server.xml file, add the following code inside the <context> element.
<resource-env-ref> <resource-env-ref-name>mail/Session</resource-env-ref-name>
<resource-env-ref-type>javax.mail.Session</resource-env-ref-type>
</resource-env-ref>