Commit b634531b authored by Nicolas Delaby's avatar Nicolas Delaby

Use same content type as Original Email

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22607 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0005910
......@@ -79,7 +79,7 @@ respond_event = event_module.newContent(\n
causality=context.getRelativeUrl(),\n
follow_up=context.getFollowUp(),\n
text_content=respond_event_text_content,\n
text_format=\'text/plain\'\n
text_format=context.getTextFormat()\n
)\n
\n
# Change the state to posted\n
......@@ -88,7 +88,7 @@ respond_event.start()\n
if respond_event.portal_type==\'Mail Message\' and respond_event.getSource():\n
respond_event.send()\n
else:\n
respond_event.send(mfrom=object.portal_preferences.getPreferredEventSenderEmail())\n
respond_event.send(mfrom=context.portal_preferences.getPreferredEventSenderEmail())\n
</string> </value>
</item>
<item>
......@@ -147,7 +147,6 @@ else:\n
<string>event_module</string>
<string>DateTime</string>
<string>respond_event</string>
<string>object</string>
</tuple>
</value>
</item>
......
294
\ No newline at end of file
295
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment