예제 #1
0
 def testSendRequestMandrillRemovedField(self):
     data = {
         "to_name": "Calvin",
         "from": "*****@*****.**",
         "from_name": "Calvin2",
         "body": "<h1>World!</h1>",
         "subject": "Hello"
     }
     response = email_sender.send_request(data, 'mandrill', True)
     self.failIf(response)
 def testSendRequestMandrillRemovedField(self):
     data = {
         "to_name": "Calvin",
         "from": "*****@*****.**",
         "from_name": "Calvin2",
         "body": "<h1>World!</h1>",
         "subject": "Hello"
     }
     response = email_sender.send_request(data, 'mandrill', True)
     self.failIf(response)
예제 #3
0
 def testSendRequestMailgun(self):
     data = {
         "to": "*****@*****.**",
         "to_name": "Calvin",
         "from": "*****@*****.**",
         "from_name": "Calvin2",
         "body": "<h1>World!</h1>",
         "subject": "Hello"
     }
     response = email_sender.send_request(data, 'mailgun', True)
     self.failUnless(response)
 def testSendRequestMailgun(self):
     data = {
         "to": "*****@*****.**",
         "to_name": "Calvin",
         "from": "*****@*****.**",
         "from_name": "Calvin2",
         "body": "<h1>World!</h1>",
         "subject": "Hello"
     }
     response = email_sender.send_request(data, 'mailgun', True)
     self.failUnless(response)