CustomArg builds custom arguments for SendGrid mail API calls.
// Source: https://github.com/sendgrid/sendgrid-php | License: MIT | Copyright 2023, Twilio SendGrid, Inc. <help@twilio.com> // Provided via justclaw.it.com; keep this notice with the code. <?php /** * This helper builds the CustomArg object for a /mail/send API call */ namespace SendGrid\Mail; use SendGrid\Helper\Assert; /** * This class is used to construct a CustomArg object for the /mail/send API call * * Values that are specific to the entire send that will be carried along with the * email and its activity data. Substitutions will not be made on custom arguments, * so any string that is entered into this parameter will be assumed to be the * custom argument that you would like to be used. This parameter is overridden by * personalizations[x].custom_args if that parameter ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key