sobjects/notification.py
changeset 3589 a5432f99f2d9
parent 3536 f6c9a5df80fb
parent 3580 e270358f68cc
child 3720 5376aaadd16b
equal deleted inserted replaced
3536:f6c9a5df80fb 3589:a5432f99f2d9
    13 from logilab.common.textutils import normalize_text
    13 from logilab.common.textutils import normalize_text
    14 from logilab.common.deprecation import class_renamed, deprecated
    14 from logilab.common.deprecation import class_renamed, deprecated
    15 
    15 
    16 from cubicweb.selectors import yes
    16 from cubicweb.selectors import yes
    17 from cubicweb.view import Component
    17 from cubicweb.view import Component
    18 from cubicweb.common.mail import format_mail
    18 from cubicweb.common.mail import NotificationView, SkipEmail
    19 from cubicweb.common.mail import NotificationView
       
    20 from cubicweb.server.hook import SendMailOp
    19 from cubicweb.server.hook import SendMailOp
    21 
       
    22 parse_message_id = deprecated('parse_message_id is now defined in cubicweb.common.mail')(parse_message_id)
       
    23 
    20 
    24 
    21 
    25 class RecipientsFinder(Component):
    22 class RecipientsFinder(Component):
    26     """this component is responsible to find recipients of a notification
    23     """this component is responsible to find recipients of a notification
    27 
    24