Skip to content

is it possible to implement ASM group id feature? #18

@saurabhsunil95

Description

@saurabhsunil95

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions