=== Email Override for SendGrid === Contributors: baiatulutata Tags: sendgrid, email, smtp, wp_mail, api Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.0.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Replaces WordPress `wp_mail()` with SendGrid's API. Adds a settings page to manage API key, sender info, and test email functionality. == Description == This plugin overrides the default WordPress email sending function with SendGrid's Mail Send API. **Key Features:** - Toggle Email Override for SendGrid on/off - Enter your SendGrid API key - Customize the "From" email and name - Send a test email directly from the settings page - Clean and native WordPress admin UI == Installation == 1. Upload the plugin files to the `/wp-content/plugins/sendgrid-email-override/` directory. 2. Activate the plugin through the "Plugins" menu in WordPress. 3. Go to **Settings > SendGrid Email**. 4. Enter your SendGrid API key, set the sender info, and enable the override. == Frequently Asked Questions == = What if I disable the override? = The default WordPress email system will be used again. = Where can I find my SendGrid API key? = In your SendGrid account, under **Settings > API Keys**. = Can I send HTML emails or add attachments? = HTML emails are supported. Attachments are not supported in this version. == Screenshots == 1. Settings panel with SendGrid API key and sender inputs 2. Section to send a test email and view the result == Changelog == = 1.0 = * Initial release with API override, test email function, and admin settings page. == Upgrade Notice == = 1.0 = Initial stable release. == External Services == This plugin integrates with the [SendGrid](https://www.sendgrid.com/) email delivery service to send outgoing emails via its API instead of the default `wp_mail()` function. When enabled, the plugin communicates with the following SendGrid API endpoint: https://api.sendgrid.com/v3/mail/send **Data sent to SendGrid includes:** - Sender name and email - Recipient email(s) - Email subject - Message body (text or HTML) - Optional headers (Cc, Bcc) The plugin requires a valid SendGrid API key to function. This credential is stored in your WordPress database and used only to authenticate API requests to SendGrid. **Privacy Notice:** By using this plugin, you agree to SendGrid's [Terms of Service](https://www.sendgrid.com/terms-of-service/) and [Privacy Policy](https://www.sendgrid.com/privacy-policy/). Ensure your use of SendGrid complies with local privacy laws and your own data protection policies.