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

yalegria created an issue. See original summary.

yaach’s picture

Issue summary: View changes
DanChadwick’s picture

Category: Feature request » Support request
Priority: Major » Normal
Status: Active » Fixed

Webform 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.

yaach’s picture

For 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.

yaach’s picture

Status: Fixed » Needs review
DanChadwick’s picture

Status: Needs review » Fixed

There 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.