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.
Hi there,
I'm getting this error when trying to send a HTML email using the module.
Message could not be sent: invalid data format/type (Code: 1300) field 'campaign_id' is of length 67 bytes, but needs to be of max length 64
Could you give any advice on how to resolve?
Thanks
Ad
Comment | File | Size | Author |
---|---|---|---|
#3 | field_campaign_id_is-2713099-3.patch | 559 bytes | zaporylie |
Comments
Comment #2
zaporylieThanks for feedback!
Could you tell us more about your setup? Which module tries to send that message?
What is campaign_id/key for the message you're trying to send? You can find that information in watchdog.
Comment #3
zaporylieAnyway - here's a patch. If you could test it and give us some feedback, that would be great.
Comment #4
boinkster CreditAttribution: boinkster as a volunteer commentedI tested this patch and it solved the issue for me. It came up when Commerce sent an order notification (through Rules):
Mail key: rules_rules_action_mail_to_users_of_role_commerce_message_commerce_order_notification_e_mail2_6
Comment #6
zaporylieagiddens, boinkster - thanks for helping with this one.
Patch has been committed and pushed to 7.x-1.x