[TYPO3-calendar] PHP warning: problem with reminder emails
Tobias Meyer
tobilot at gmx.de
Mon Aug 27 11:32:00 CEST 2012
Hi
I just thought the source code of these emails might bei interesting or helpful for my issue so here it is (shortened by all the header, just the
content part printed):
Sourcecode of empty mail (the reminder one):
------------------------------------------------------------------
--_=_swift_v4_1346009404503a793c1e4d6_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
--_=_swift_v4_1346009404503a793c1e4d6_=_--
------------------------------------------------------------------
There inbetween should be all the content, right?
Email with content (the one referring to the event change):
------------------------------------------------------------------
--_=_swift_v4_1346008264503a74c87c466_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Titel: Event
Startdatum: 25. August Startzeit: 11:0=
0
Stoppzeit: 12:00
Beschreibung: Event Text und hier ist =
die Beschreibung
Has been changed =
to:
Titel: Event
Startdatum: 26. August Startz=
eit: 22:00
Stoppzeit: 23:00
Beschreibung: Event Text und=
hier ist die Beschreibung
unsubscribe this =
event: ***********
--_=_swift_v4_1346008264503a74c87c466_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://ww=
w.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<st=
yle type=3D"text/css">
</style>
<title></title>
<meta=
http-equiv=3D"Content-Type" content=3D"text/html; charset=3D">
<meta =
name=3D"generator" content=3D"TYPO3 CMS">
</head>
<body>
Thi=
s event has changed (old->new)
<table><tr><td>
<div>Tite=
l: Event</div>
<div>Startdatum: 25. August</div=
>
<div>Startzeit: 11:00</div>
<div>Stoppzeit: =
12:00</div>
<div>Beschreibung: <p>Event Text =
und hier ist die Beschreibung</p></div>
</td><td>
<d=
iv>Titel: Event</div>
<div>Startdatum: 26. August</=
div>
<div>Startzeit: 22:00</div>
<div>Stoppzeit: =
23:00</div>
<div>Beschreibung: <p>Event Text =
und hier ist die Beschreibung</p></div>
</td></tr></table=
>
<a href=3D"http://www********
********unsubscribe this event</a>
<body>
</html>
--_=_swift_v4_1346008264503a74c87c466_=_--
-----------------------------------------------------------------
In the second example two parts are shown: One part with text/plain and one part with text/html.
I have also deleted the unsubscribe link for privacy reasons.
rgds
Tobias
More information about the TYPO3-project-calendar
mailing list