Example #1
0
 public function testCompose()
 {
     $this->assertIsA(Postmark\Mail::compose(Postmark\Mail::TESTING_API_KEY), 'Postmark\\Mail');
 }
Example #2
0
 public function setUp()
 {
     $this->_mail = Postmark\Mail::compose(Postmark\Mail::TESTING_API_KEY)->debug(Postmark\Mail::DEBUG_RETURN)->from('*****@*****.**', 'Foo Bar')->to('*****@*****.**', 'John Smith')->subject('The subject')->messagePlain('Test message');
 }