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.
If the current user has a signature in his profile, it would be a nice touch to have the option for that signature to be added to the email.
Comment | File | Size | Author |
---|---|---|---|
#2 | views_send-Add-initial-code-for-signature-1559892-2.patch | 1.56 KB | Ben Coleman |
#1 | views_send-Add_initial-code_for_signature-1559892-1.patch | 1.38 KB | Ben Coleman |
Comments
Comment #1
Ben Coleman CreditAttribution: Ben Coleman commentedThis is an initial cut of a patch for this. Note that I've tried to use the standard '-- ' signature separator, but the ending space is being removed. Also, I'm not sure how to handle juggling the format of the signature (Plain Text, Filtered HTML, Full HTML) with the format of the email.
Comment #2
Ben Coleman CreditAttribution: Ben Coleman commentedAttached is an updated patch for this which will patch against the current release. Had to generate this when I updated Views Send today, Hope to get some time to improve on this. Another thing needs to be fix is to detect if the email is in HTML mode and wrap it in the appropriate HTML.
Comment #3
hansfn CreditAttribution: hansfn commentedJust a quick question: Isn't the user signature available in the tokens that Views Send gets from the Token module?
PS! Thx for the patch. If using the Token module isn't an option, I will add something like this.
Comment #4
hansfn CreditAttribution: hansfn commentedSorry, but I don't see that I will have time to fix any D7 issues.