The custom list have the following fields:
- Title: The native Title field – holds the subject.
- To: Single line of text.
- Cc: Single line of text.
- EmailBody: Multiple lines of plain text.
With a workflow like this:
You could skip the part with “Store …. in Variable” for “To” and “Cc” if you like, this step was originally used for pulling values from a multi select people picker. This field cannot be used in “To” or “Cc” without this procedure.
As always we start like this:
The jQuery-library is found here. The pictures and the sourcecode refers to jquery-1.4.2.min. If you use another version, remember to update the script “src”.
The scripts “interaction.js” and “stringBuffer.js” are created by Erucy and published on CodePlex.
Add this code to a CEWP – update the script “src”:
NOTE: Starting Workflows is not possible for anonymous users (may be possible using a third party fix).
Ask if anything is unclear.