-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MailSettings class missing attributes from specification #1135
Comments
@fefi95 You should consider using StrongGrid because it allows you to configure all the mail settings, including the var apiKey = "... your api key...";
var client = new StrongGrid.Client(apiKey);
var result = await client.Mail.SendToSingleRecipientAsync(
to,
from,
subject,
htmlContent,
textContent,
mailSettings: new MailSettings()
{
BypassBounceManagement = false,
BypassListManagement = false,
BypassSpamManagement = true,
BypassUnsubscribeManagement = false,
... other settings omitted ...
},
cancellationToken: cancellationToken).ConfigureAwait(false); |
Similar to sendgrid/sendgrid-java#700. This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog. |
|
…nce_management and bypass_unsubscribe_management sendgrid#1135
…ss_bou… (#1153) * Added mail settings attributes for bypass_spam_management, bypass_bounce_management and bypass_unsubscribe_management #1135 * Documentation for bypass_spam_management, bypass_bounce_management and bypass_unsubscribe_management * Review comments- Udated right summary from the api spec Co-authored-by: Shwetha Radhakrishna <[email protected]> Co-authored-by: Jennifer Mah <[email protected]> Co-authored-by: Raghav Katyal <[email protected]>
This should be resolved now. Thank you for the issue and community PR. |
Issue Summary
The specification for Sendgrid's API version 3 has the attributes
bypass_spam_management
,bypass_bounce_management
andbypass_unsubscribe_management
onmail_settings
for the/mail/send
endpoint. However, they seem to be missing on MailSettings class. Could they be added? Thanks!Technical details:
The text was updated successfully, but these errors were encountered: