eMail
eMail copied to clipboard
Make sure quoted printable is working as expected
Message from user:
If period character (dot .) is 1st character in a line, it should insert another period character after it.
When I send mail which contains IPv4 address, and receive it by another mail client, I found that sometimes one dot in IPv4 address is missing. I checked the quoted-printable string generated by email, and found the 1st character of one line is dot, it's eaten by maybe the smtp server of mail client.
example:
<span class=3D'A'>=E6=B7=BB=E3=80=80=E3=80=80=E5=8A=A0 <a href=3D'ht=
tp://192.168.105.26/svn/cmcc/config/trunk/192.168.115.88 RecordBackup01/etc=
/profile.d/env.sh'>=E9=93=BE=E6=8E=A52(=E6=94=AF=E6=8C=81=E6=B1=89=E5=AD=97=
) <a href=3D'http://192.168.105.26/viewvc/cmcc/config/trunk/192.168.115=
.88 RecordBackup01/etc/profile.d/env.sh'>config/trunk/192.168.115.88 Record=
Backup01/etc/profile.d/env.sh
Related RFC section:
http://tools.ietf.org/html/rfc2821#section-4.5.2
- When a line of mail text is received by the SMTP server, it checks the line. If the line is composed of a single period, it is treated as the end of mail indicator. If the first character is a period and there are other characters on the line, the first character is deleted.