Hi Everyone,
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?
Regards,
W
On Wed, May 13, 2009 at 2:38 PM, Werner Hauptfleisch <
[email protected]> wrote:
> Hi Synalist,
>
> I have implemented the sending of a multipart HTML email using the
> smptsend, mimepart and mimemess classes. Everything works fine except for
> the email subject that has a '_' instead of the <space> characters that was
> initially set before sending the email.
>
> For example when I set the following:
> var m : TMimeMess
> l : TStringList;
> p : TMimePart
>
> p := m.AddPartMultipart('mixed', nil);
> m.header.from := '[email protected]';
> m.header.subject := 'THIS IS A TEST EMAIL';
>
> l.add('Hi there');
> l.add('This is a test email
> <...constuct the rest of the email using a simple stringlist to store the
> lines...>
>
> m.AddHTML(l, p);
> m.EncodeMessage;
>
> Then I use the SendToRaw function to send the email.
>
> Once the email is received, the email body is correct, but the email
> subject now reads: "THIS_IS_A_TEST_EMAIL".
>
> Any idea what this is happening or even what I am missing here?
>
> Thanks again,
>
> W
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public