[TYPO3-english] Powermail scrambling message text
Bernd Wilke
t3ng at pi-phi.tk
Thu Dec 8 14:54:47 CET 2011
On Thu, 08 Dec 2011 10:23:08 -0200, Celso Reeks wrote:
> Hi,
>
>
> I'm having some weird problems with extension "powermail".
>
> Everything is well configured, the form appears correctly on my page,
> jQuery validation works as a breeze, form data is being sent and
> recorded in my determined storage page.
>
> BUT the e-mails sent contain only a long quantity of scrambled
> characters, instead of the actual message. Apparently, it's some kind
> of confusion with MIME or text encoding, but I couldn't find anywhere to
> configure this in "powermail".
>
> Does anyone have any clues on what's going on?
>
>
> The contact form is on this page:
>
> http://naudeicaros.distopia.com/contato/
>
>
> And here's a raw copy of the full message, headers and all:
>
>
> ++++++++++++++++++
>
[...]
> MIME-Version: 1.0
> Content-Type: multipart/alternative;
> boundary="_=_swift_v4_13233005554edff6cb65426_=_"
> X-Mailer: TYPO3
> Content-Transfer-Encoding: BASE64
>
>
Ci0tXz1fc3dpZnRfdjRfMTMyMzMwMDU1NTRlZGZmNmNiNjU0MjZfPV8KQ29udGVudC1UeXBlOiB0
[...]
Cgk8L3RhYmxlPgoKLS1fPV9zd2lmdF92NF8xMzIzMzAwNTU1NGVkZmY2Y2I2NTQyNl89Xy0tCg==
>
looks like double encoding, as the base64 part decoded reads:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
--_=_swift_v4_13233005554edff6cb65426_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Olha s=C3=B3 a mensagem que mandaram pelo site:
Nome: Celso R=
eeks
Empresa: distopia
E-mail celso at distopia.com
Telefone: 1=
1 8413-4886
Mensagem: Testando o envio de mensagens pela segunda =
vez
--_=_swift_v4_13233005554edff6cb65426_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<p class=3D"bodytext">Olha s=C3=B3 a mensagem que mandaram pelo sit=
e:
</p>
<p class=3D"bodytext"> </p><table class=3D"">
=
=09
<tr class=3D"powermail_all_tr
powermail_all_tr_uid4">
<=
td class=3D"powermail_all_td powermail_all_label powermail_all_td_uid4"
va=
lign=3D"top">Nome:</td>=20
<td class=3D"powermail_all_td powermail=
_all_value powermail_all_td_uid4" valign=3D"top">Celso Reeks</td>
=
</tr>
=09
<tr class=3D"powermail_all_tr powermail_all_tr_u=
id6">
<td class=3D"powermail_all_td
powermail_all_label powermail=
_all_td_uid6" valign=3D"top">Empresa:</td>=20
<td class=3D"powerm=
ail_all_td powermail_all_value powermail_all_td_uid6"
valign=3D"top">disto=
pia</td>
</tr>
=09
<tr class=3D"powermail_all_tr powerm=
ail_all_tr_uid5">
<td class=3D"powermail_all_td
powermail_all_lab=
el powermail_all_td_uid5" valign=3D"top">E-mail</td>=20
<td class=
=3D"powermail_all_td powermail_all_value powermail_all_td_uid5" valign=
=3D"top">celso at distopia.com</td>
</tr>
=09
<tr class=3D=
"powermail_all_tr powermail_all_tr_uid7">
<td class=3D"powermail_=
all_td powermail_all_label powermail_all_td_uid7"
valign=3D"top">Telefone:=
</td>=20
<td class=3D"powermail_all_td
powermail_all_value powermail=
_all_td_uid7" valign=3D"top">11 8413-4886</td>
</tr>
=09
=
<tr class=3D"powermail_all_tr powermail_all_tr_uid8">
<td class=
=3D"powermail_all_td powermail_all_label powermail_all_td_uid8" valign=
=3D"top">Mensagem:</td>=20
<td class=3D"powermail_all_td powermail=
_all_value powermail_all_td_uid8" valign=3D"top">Testando o envio de
mensa=
gens pela segunda vez</td>
</tr>
=09
</table>
--_=_swift_v4_13233005554edff6cb65426_=_--
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
these are already valid mail-parts and does not need to be packed base64.
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list