Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have 2 boolean fields in some of my content types and I want to filter content based on the values on these boolean fields. I am editing the built in content view.
For demonstration purposes lets think the fields are `field_boolean_1` and `field_boolean_2`.
I have programmatically added a dropdown like this with hook_form_alter():
I'm using the commerce_email module, to send emails to customers upon events fired.
When an order is complete, I do send an email to the customer with info about tracking codes and so o, and want to attach an pdf with further info about tracking, is that possible, and how ?
Suddenly, our production system has stopped sending most emails. The logs just show “error sending email”, but on the page after you submit a form, it says “Unable to send email. Contact the site administrator if the problem persists.” . This happens when a user signs up for an account and on a custom module I created. There are no errors in the system maillog file.
To try to debug, I installed the simple Send Mails module. It sends mail without issue! Looking at its code and my custom module’s code, the mailManager call is almost the same.