Re: Charset or body misformed, rejected

Alvaro Cornejo <[email protected]> Wed, 4 Jan 2023 19:33:01 -0500
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAO55aG8X6c07T0UB=FG2vnHNXGCrFY2u9=HdmHwLBxA+o7cmjA@mail.gmail.com>
--000000000000ac961805f17973cb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi

Are you urlecoding your message?

Regards

Alvaro
|--------------------------------------------------------------------------=
--------------|
 Stay safe / Cu=C3=ADdate/  Reste s=C3=A9curis=C3=A9
*7* Switch off as you go / Apaga lo que no usas /  D=C3=A9branchez au fur e=
t =C3=A0
mesure.
 *q *Recycle always / Recicla siempre / Recyclez toujours
 P Print only if absolutely necessary / Imprime solo si es necesario /
Imprimez seulement si n=C3=A9cessaire


Le mer. 4 janv. 2023 =C3=A0 11:58, Ali Kashif <[email protected]> a =
=C3=A9crit :

> Hello users,
> I am trying to send special characters in messages like @ _ etc and these
> are replaced with ?.
> I googled things and saw that I need to add
>
> alt-charset =3D utf-8
> under group =3D smsc (which I did, but not fixed. )
>
> i tried adding
> coding=3D2
> charset=3Dutf-8
>
> and as soon as I add charset=3Dutf-8 and send a message kannel throws an
> error
> "Charset or body misformed, rejected"
>
> can someone advise what should be done to send special characters in a
> message,
>
> Thank you
>
>

--000000000000ac961805f17973cb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi<div><br></div><div>Are you urlecoding=C2=A0your message=
?</div><div><br></div><div>Regards</div><div><br></div><div>Alvaro<br clear=
=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"=
gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><span style=3D"font=
-size:18.6667px"><font color=3D"#000000">|---------------------------------=
-------------------------------------------------------|</font></span></div=
><div dir=3D"ltr"><img src=3D"https://ci3.googleusercontent.com/mail-sig/AI=
orK4zO0f8Z21m2X0jK3RWGktD8bapLQbsF7Zq7ukeIuapEB3QMlgOXKzxbFPpUQzsex8cwRRihw=
Vw">=C2=A0<span style=3D"color:rgb(80,0,80);font-family:&quot;Segoe UI&quot=
;,sans-serif;font-size:9pt">Stay safe / Cu=C3=ADdate/=C2=A0=C2=A0</span><sp=
an style=3D"color:rgb(80,0,80);font-family:&quot;Segoe UI&quot;,sans-serif;=
font-size:12px">Reste s=C3=A9curis=C3=A9</span><span style=3D"font-size:18.=
6667px"><font color=3D"#000000"><br></font></span></div><div dir=3D"ltr"><b=
 style=3D"color:rgb(80,0,80)"><i><span style=3D"font-size:14pt;font-family:=
&quot;Wingdings 3&quot;;color:rgb(192,0,0)">7</span></i></b><span style=3D"=
color:rgb(192,0,0);font-size:14pt;font-family:Consolas">=C2=A0</span><font =
color=3D"#500050" face=3D"Segoe UI, sans-serif"><span style=3D"font-size:9p=
t">Switch off as you go / Apaga lo que no usas /=C2=A0 </span><span style=
=3D"font-size:12px">D=C3=A9branchez au fur et =C3=A0 mesure.</span></font><=
div><span style=3D"color:rgb(23,54,93);font-size:11pt;font-family:Calibri,s=
ans-serif">=C2=A0</span><b style=3D"color:rgb(80,0,80)"><span style=3D"font=
-size:14pt;font-family:Webdings;color:rgb(0,176,240)">q=C2=A0</span></b><sp=
an style=3D"color:rgb(80,0,80);font-size:9pt;font-family:&quot;Segoe UI&quo=
t;,sans-serif"><span>Recycle</span>=C2=A0always / Recicla siempre / Recycle=
z toujours</span></div><div><span style=3D"color:rgb(23,54,93);font-size:11=
pt;font-family:Calibri,sans-serif">=C2=A0</span><span style=3D"color:rgb(0,=
176,80);font-size:14pt;font-family:Webdings">P</span><span style=3D"color:r=
gb(23,54,93);font-size:11pt;font-family:Consolas">=C2=A0</span><span style=
=3D"color:rgb(80,0,80);font-size:9pt;font-family:&quot;Segoe UI&quot;,sans-=
serif">Print only if absolutely necessary / Imprime solo si es necesario / =
Imprimez seulement si n=C3=A9cessaire</span><br></div></div></div></div></d=
iv></div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">Le=C2=A0mer. 4 janv. 2023 =C3=A0=C2=A011:58, Ali Kashif =
&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&=
gt; a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><div dir=3D"ltr">Hello users,=C2=A0<div>I am trying to send special=
 characters in messages like=C2=A0@ _ etc and these are replaced with ?.=C2=
=A0</div><div>I googled things and saw that I need to add=C2=A0</div><div><=
br></div><div>alt-charset =3D utf-8=C2=A0</div><div>under group =3D smsc (w=
hich I did, but not fixed. )<br></div><div><br></div><div>i tried adding=C2=
=A0</div><div>coding=3D2</div><div>charset=3Dutf-8</div><div><br></div><div=
>and as soon as I add charset=3Dutf-8 and send a message kannel throws an e=
rror=C2=A0</div><div>&quot;<span style=3D"color:rgb(0,0,0);font-family:&quo=
t;Times New Roman&quot;;font-size:medium">Charset or body misformed, reject=
ed</span>&quot;</div><div><br></div><div>can someone advise what should be =
done to send special characters in a message,=C2=A0</div><div><br></div><di=
v>Thank you=C2=A0</div><div><br></div></div>
</blockquote></div>

--000000000000ac961805f17973cb--