Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/p/r/Products.listen-0.6.4/Products/listen/browser/mail_message_views.py   Products.listen(Download)
from Products.listen.lib.browser_utils import getAttachmentsForMessage
from Products.listen.lib.browser_utils import format_date
from Products.listen.lib.browser_utils import rewrapMessage
from Products.listen.lib.browser_utils import stripSignature
from Products.listen.lib.browser_utils import getAddressInfo
        # Remove message signature
        stripped_body = stripSignature(self.context.body)
        quoted_body = rewrapMessage(stripped_body, add_quote=True)
 
        attribution = _("reply-attribution", u"On ${date}, ${author} wrote:")
        ml = self.getMailingList()
        encoding = getSiteEncoding(ml)
        body = rewrapMessage(decode(self.request.get('body'), ml))
        subject = decode(self.request.get('subject'), ml)
        message = construct_simple_encoded_message(from_addr=unicode(self.member_address(),encoding),

src/o/p/opencore-listen-0.8.0/Products/listen/browser/mail_message_views.py   opencore-listen(Download)
from Products.listen.lib.browser_utils import getAttachmentsForMessage
from Products.listen.lib.browser_utils import format_date
from Products.listen.lib.browser_utils import rewrapMessage
from Products.listen.lib.browser_utils import stripSignature
from Products.listen.lib.browser_utils import getAddressInfo
        # Remove message signature
        stripped_body = stripSignature(self.context.body)
        quoted_body = rewrapMessage(stripped_body, add_quote=True)
 
        attribution = _("reply-attribution", u"On ${date}, ${author} wrote:")
        ml = self.getMailingList()
        encoding = getSiteEncoding(ml)
        body = rewrapMessage(decode(self.request.get('body'), ml))
        subject = decode(self.request.get('subject'), ml)
        message = construct_simple_encoded_message(from_addr=unicode(self.member_address(),encoding),