[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22167#action_22167
]
Philipp Bärfuss commented on MAGNOLIA-2684:
-------------------------------------------
The context path is not available from the current context as the context is a
not a web context but a workflow context.
> Sending magnolia pages as html email fails if command used in workflows
> -----------------------------------------------------------------------
>
> Key: MAGNOLIA-2684
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2684
> Project: Magnolia
> Issue Type: Bug
> Components: mail
> Affects Versions: 4.0.1
> Reporter: Olivier Marti
> Assignee: Boris Kraft
> Attachments: error.log
>
>
> As I tried to send a page as an html mail upon activation from withing the
> workflow it's failing with the attached error.
> The corresponding part of the workflow definition looks like this:
> <set field="from" value="[email protected]"/>
> <set field="to" value="[email protected]"/>
> <set field="subject" value="Test"/>
> <set field="contentType" value="html"/>
> <set field="templateFile"
> value="http://localhost:8080/demo-project/news_and_events/events/new-year-s-eve.html"/>
> <set field="type" value="magnolia"/>
> <participant ref="command-sendMail"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------