$key]); // TODO: update all from emails to = sandbox domain try{ $results = Transmission::send([ "campaign"=>"my-campaign", "metadata"=>[ "sample_campaign"=>true, "type"=>"these are custom fields" ], "substitutionData"=>[ "name"=>"Test Name" ], "description"=>"my description", "replyTo"=>"reply@test.com", "customHeaders"=>[ "X-Custom-Header"=>"Sample Custom Header" ], "trackOpens"=>false, "trackClicks"=>false, "from"=>"From Envelope ", "html"=>"

Hello World! Your name is: {{name}}

", "text"=>"Hello World!", "subject"=>"Example Email: {{name}}", "recipients"=>[ [ "address"=>[ "email"=>"john.doe@example.com" ] ] ] ]); var_dump($results); echo 'Congrats you can use your SDK!'; } catch (\Exception $exception) { echo $exception->getMessage(); } ?>