@@ -252,7 +252,7 @@ public function testCreateSendText()
252
252
253
253
$ subject = "New message " ;
254
254
255
- $ options = new MessageCreateOptions ($ serverName );
255
+ $ options = new MessageCreateOptions ();
256
256
$ options ->to = 'anything@ ' . self ::$ verifiedDomain ;
257
257
$ options ->send = TRUE ;
258
258
$ options ->subject = $ subject ;
@@ -270,7 +270,7 @@ public function testCreateSendHtml()
270
270
271
271
$ subject = "New HTML message " ;
272
272
273
- $ options = new MessageCreateOptions ($ serverName );
273
+ $ options = new MessageCreateOptions ();
274
274
$ options ->to = 'anything@ ' . self ::$ verifiedDomain ;
275
275
$ options ->send = TRUE ;
276
276
$ options ->subject = $ subject ;
@@ -289,7 +289,7 @@ public function testForwardText()
289
289
$ body = "Forwarded message " ;
290
290
$ targetEmailId = self ::$ emails [0 ]->id ;
291
291
292
- $ options = new MessageForwardOptions ($ serverName );
292
+ $ options = new MessageForwardOptions ();
293
293
$ options ->to = 'anything@ ' . self ::$ verifiedDomain ;
294
294
$ options ->text = $ body ;
295
295
@@ -306,7 +306,7 @@ public function testForwardHtml()
306
306
$ body = "<p>Forwarded <strong>HTML</strong> message.</p> " ;
307
307
$ targetEmailId = self ::$ emails [0 ]->id ;
308
308
309
- $ options = new MessageForwardOptions ($ serverName );
309
+ $ options = new MessageForwardOptions ();
310
310
$ options ->to = 'anything@ ' . self ::$ verifiedDomain ;
311
311
$ options ->html = $ body ;
312
312
@@ -323,7 +323,7 @@ public function testReplyText()
323
323
$ body = "Reply message " ;
324
324
$ targetEmailId = self ::$ emails [0 ]->id ;
325
325
326
- $ options = new MessageReplyOptions ($ serverName );
326
+ $ options = new MessageReplyOptions ();
327
327
$ options ->text = $ body ;
328
328
329
329
$ message = self ::$ client ->messages ->reply ($ targetEmailId , $ options );
@@ -339,7 +339,7 @@ public function testReplyHtml()
339
339
$ body = "<p>Reply <strong>HTML</strong> message.</p> " ;
340
340
$ targetEmailId = self ::$ emails [0 ]->id ;
341
341
342
- $ options = new MessageReplyOptions ($ serverName );
342
+ $ options = new MessageReplyOptions ();
343
343
$ options ->html = $ body ;
344
344
345
345
$ message = self ::$ client ->messages ->reply ($ targetEmailId , $ options );
0 commit comments