Commit 4dbff846 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Better class description. Now a legacy class.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17515 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ae5c4ca
......@@ -32,7 +32,6 @@ from AccessControl import ClassSecurityInfo
from Products.CMFMailIn.MailMessage import MailMessage as CMFMailInMessage
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5.Document.Event import Event
import smtplib
......@@ -41,7 +40,15 @@ from zLOG import LOG
class MailMessage(Event, CMFMailInMessage):
"""
MailMessage subclasses Event objects to implement Email Events.
LEGACY
The MailMessage class is deprecated. It is superceded by
the Event class (for CRM events) and by the EmailDocument class
(to store raw email messages).
TODO: compatibility layer is required so that old MailMessage
instance can mimic Event instances based on legacy data. This
is required for example for old CRM implementations of ERP5.
"""
meta_type = 'ERP5 Mail Message'
......
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