Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/p/r/Products.MailHost-2.13.1/src/Products/MailHost/MailHost.py   Products.MailHost(Download)
                delivery = DirectMailDelivery(self._makeMailer())
 
            delivery.send(mfrom, mto, messageText)
 
InitializeClass(MailBase)

src/c/o/collective.overridemailrecipients-1.0.2/src/collective/overridemailrecipients/patches.py   collective.overridemailrecipients(Download)
            delivery = DirectMailDelivery(self._makeMailer())
 
        delivery.send(mfrom, mto, messageText)
 
def get_mail_address():

src/z/o/zope.sendmail-4.0.0a2/src/zope/sendmail/tests/test_delivery.py   zope.sendmail(Download)
                       'This is just an example\n')
 
        msgid = delivery.send(fromaddr, toaddrs, opt_headers + message)
        self.assertEquals(msgid, '20030519.1234@example.org')
        self.assertEquals(mailer.sent_messages, [])
 
        mailer.sent_messages = []
        msgid = delivery.send(fromaddr, toaddrs, message)
        self.assert_('@' in msgid)
        self.assertEquals(mailer.sent_messages, [])
 
        mailer.sent_messages = []
        msgid = delivery.send(fromaddr, toaddrs, opt_headers + message)
        self.assertEquals(mailer.sent_messages, [])
        transaction.abort()
                       'This is just an example\n')
 
        msgid = delivery.send(fromaddr, toaddrs, opt_headers + message)
        try:
            transaction.commit()
                       'This is just an example\n')
 
        msgid = delivery.send(fromaddr, toaddrs, opt_headers + message)
        try:
            try: