On 07/22/2013 08:17 AM, Piratenvisier wrote: > Thank you Thorsten for sending the MailSender example. > I learnt one way to read out a bean could be a Controller based on a > StringTemplateGenerator > while a Restcontroller delivers the Bean.Do you know if there exists a > Generator like the former JXGenerator > Thanks for your help
ATM the StringTemplateGenerator is the way, none has migrated the JXGenerator yet. Regarding the pipeline example it took me much longer then expected to extract the code since like I said it was based on a jms trigger and after 8 hours Saturday my kids requested to go swimming. I will have a look now to create a small pipe-example. Further for advanced mail operations you would need MimeMessageHelper message = new MimeMessageHelper(mimeMessage, true,"UTF-8"); which allows to * message.addAttachment(...) ; * message.setText(text, htmlString); // alternative formats text and html salu2 > > Am 20.07.2013 18:26, schrieb Thorsten Scherler (JIRA): >> [ >> https://issues.apache.org/jira/browse/COCOON3-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> ] >> >> Thorsten Scherler closed COCOON3-129. >> ------------------------------------- >> >> Resolution: Fixed >> >> Committed revision 1505158. >> >> >>> Create an example to send a mail via cocoon >>> ------------------------------------------- >>> >>> Key: COCOON3-129 >>> URL: https://issues.apache.org/jira/browse/COCOON3-129 >>> Project: Cocoon 3 >>> Issue Type: New Feature >>> Components: cocoon-rest-optional >>> Affects Versions: 3.0.0-beta-1 >>> Reporter: Thorsten Scherler >>> Fix For: 3.0.0-beta-1 >>> >>> >>> http://markmail.org/message/6ces6erwekf57qfo >>> as requested from hansheinrichbraun in above mail I extracted a >>> simple example to send a mail with cocoon based on work of >>> codebusters.es. >> -- >> This message is automatically generated by JIRA. >> If you think it was sent incorrectly, please contact your JIRA >> administrators >> For more information on JIRA, see: >> http://www.atlassian.com/software/jira > -- Thorsten Scherler <scherler.at.gmail.com> codeBusters S.L. - web based systems <consulting, training and solutions> http://www.codebusters.es/