mailjet / MailjetSwiftMailer

A SwiftMailer transport implementation for Mailjet
MIT License
26 stars 23 forks source link

Sandbox Mode #19

Closed qdequippe closed 2 years ago

qdequippe commented 6 years ago

Hi,

Is there a way to use Sandbox Mode? I tried by setting this in the headers

$headers = $message->getHeaders();
$headers->addTextHeader('X-MJ-SandboxMode', true);
// or
$headers->addTextHeader('SandboxMode', true);

but without success, the email is still sent.

Regards

qdequippe commented 5 years ago

Any help?

bertoost commented 5 years ago

Would be nice to have this included in the package. Hope @bench @eboisgon @ngarnier or @Nightbr are able to be a little more active on this