> I think I have found the issue. The moment I include a colon ':' in
> the subject line, all the spaces are replaced with '_' characters. I
> noted that there are some checks onc characters before the email is
> sent. Which characters are these, and should not only this one
> characters be replaced?

Whe you use some invalid or problematic char in the subject text, 
then Synapse encode sybject by inline-mime. It is not an error.

If you pass: 'THIS IS A TEST EMAIL'
then you got: 'THIS IS A TEST EMAIL'

But if you pass: 'THIS IS : A TEST EMAIL'
then you got: =?ISO-8859-1?Q?THIS_IS_=3A_A_TEST_EMAIL?=

Underscore char inside inline MIME is decoded as space. If your mail 
program cannot decode this subject correctly, then it is error his 
side.


-- 
Lukas Gebauer.

E-mail: [email protected]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to