Help with drupal_mail and integration

Created on 2 September 2020, about 4 years ago
Updated 15 March 2023, over 1 year ago

Problem/Motivation

I have a couple of custom modules that completely generate the body, to, from etc in code, and then use drupal_mail to send the email. Using the standard HTMLMail setting for site-wide configuration, the emails send fine but as soon as I change it to sendgrid integration, the emails stop sending, and sendgrid doesn't show the reporting coming through. It seems to me like SendGrid integration isn't actually intercepting the drupal_mail function.

Steps to reproduce

Create a custom module, build a generic email with a body, to, from and pass it through drupal_mail() function

πŸ’¬ Support request
Status

Closed: outdated

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024