-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
Is it possible to implement the asm group id feature of sendgrid for unsubscribing the mail?
https://docs.sendgrid.com/for-developers/sending-email/suppressions
Like in C# SendGridClient, we can directly set the asm group id.
Example:
var client = new SendGridClient(apiKey);
var from_email = new EmailAddress("xyz@gmail.com", "");
var subject = "Subject";
var to_email = new EmailAddress("xyzz@gmail.com", "");
var plainTextContent = "and easy to do anywhere, even with C#";
var htmlContent = "and easy to do anywhere, even with C#";
var msg = MailHelper.CreateSingleEmail(from_email, to_email, subject, plainTextContent, htmlContent);
msg.SetAsm(123456);
msg.AddCcs(toCCs);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request