尝试使用Sendgrid创建自定义联系人表单以将收件人添加到联系人列表中,按照的示例,目前我有:
require("sendgrid-php.php");
// Send an Email
$from = new SendGrid\Email(null, "info@test.com");
$subject = "Hello World from the SendGrid PHP Library!";
$to = new SendGrid\Email(null, "my@email.com");
$content = new S