Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
All,
There are some node and term references that I am using in some of the fields in my form. When I get the email confirmation after submitting the form, I received links on the bottom of the email that point to the nodes and terms selected.
Is there any way to remove that? I went to the webform-mail.tpl.php file but can't find where these links are created.
Comments
Comment #2
yaach CreditAttribution: yaach commentedComment #3
DanChadwick CreditAttribution: DanChadwick commentedWebform isn't doing that. Those links are provided by either Drupal core or your mail system (such as mimemail). Without investigating myself, I can't tell you more. You'll have to find the answer to this elsewhere. Please post back with what you find.
Comment #4
yaach CreditAttribution: yaach commentedFor whoever found this same issue. I was able to remove the links attached to the webform email confirmation by going to the the drupal core file include/mail.inc.
There is a function _drupal_html_to_mail_urls that keeps track of URLs. The function is called within drupal_html_to_text() to add the footnotes (urls).
I haven't seen any other cases where Drupal put these urls besides Webform, but it is just very inconvenient if you dont want to show them, you will have to comment this part in core.
Comment #5
yaach CreditAttribution: yaach commentedComment #6
DanChadwick CreditAttribution: DanChadwick commentedThere is nothing to review. This support request is complete, so the appropriate status is "fixed". "Needs review" is for patches that need review by the community. See the Issue Queue Handbook for the definition of priority and status.