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