Feature #2038

Reminder HTML Emails are considered Spam - add a TS Parameter to prevent that

Added by Florian Sauer 11 months ago. Updated 5 months ago.

Status:New Start:03/24/2011
Priority:Normal Due date:
Assigned to:Mario Matzulla % Done:

0%

Category:General
Target version:1.5.0

Description

Cal 1.4 svn typo 4.4.2

The reminder service gives not logged in website visitors the opportunity to enter their email address so they may be reminded of an event in advance.

If you configure cal to not use captcha, a system mail is sent to the address of the user with a confirmation link embedded.

I created an html template (modified notifyConfirm.tmpl) with a header and footer <img> inserted.
When my Outlook (oh yes) received the mail it was considered as SPAM.

analysis:
- if the <img> were not embedded into the sent mail but were only html references with an url of the webserver the mail was ok and not be considered spam

feature request:
- add a TS param view.event.notify.emailNoMediaEmbed = 0/1

- change tx_cal_phpicalendar_model.php

.....
$this->controller->finish($htmlTemplate);
$this->controller->finish($plainTemplate);
$mailer->theParts['html']['content'] = $htmlTemplate;
$mailer->theParts['html']['path'] = '';
// change:
if (!$this->conf['view.']['event.']['notify.']['emailNoMediaEmbed ']) {
$mailer->extractMediaLinks();
}
$mailer->extractHyperLinks();
if (!$this->conf['view.']['event.']['notify.']['emailNoMediaEmbed ']) {
$mailer->fetchHTMLMedia();
$mailer->substMediaNamesInHTML(0); // 0 = relative
}
// change end
$mailer->substHREFsInHTML();
.....

- since Typo3 4.5 contains a new mailer class check the consequences of this suggested change
- I am not sure if the suggested code changes will affect other media, too... please check

best regards

Florian

History

Updated by Thomas Kowtsch 11 months ago

  • Category set to General
  • Assigned to set to Jeff Segars
  • Target version set to 1.4.1

Updated by Thomas Kowtsch 11 months ago

  • Assigned to changed from Jeff Segars to Mario Matzulla

Updated by Thomas Kowtsch 10 months ago

  • Target version changed from 1.4.1 to 1.5.0

Also available in: Atom PDF