Skip to content

Instantly share code, notes, and snippets.

<?php
require("./sendgrid-php/sendgrid-php.php");
$sendgrid = new SendGrid('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');
$email = new SendGrid\Email();
$name = $_POST['name'];
$emailuser = $_POST['email'];