[Zope] mailhost ques

cyrille cyrilleml@kbuilder.net
Fri, 18 Oct 2002 03:57:26 +0200


AM a =E9crit:
> Hi,
> I have the following command:
> context.mail_host.send(messageText=3Dmsg, mto=3De, mfrom=3D'a@abc.com',=
=20
> subject=3Dsub,encode=3D'base64')
>=20
> Now my msg is
> msg =3D 'aaaaabbbbbbccccc'
>=20
> If I do the following:
> msg =3D 'this is from abc\n\n' + msg

perhaps use " not '
like that the char \n will be interpreted ...

cyrille,
a zope newbie ;o{
a perl killer ;o)



>=20
> The email sent has the chartacters '\' 'n' as is> I just cant seem to=20
> introduce a carraige returns in the body of the message. I tried \r and=
=20
> still the same
>=20
> Why??
> TIA
>=20
> AM
>=20