[twsocket] THtmlSmtpCli Outlook Express and attachment problem

2010-09-03 Thread Fabrice Vendé

 Hello,

Outlook Express seems to have a problem to show attachment only in his 
email list (top of the Outlook Express windows). In detail of email we 
see that there is an attachment but not in the email list.

Tested in all version of ICS and Delphi.
I don't see this problem in other email client.
I have found a fix to avoid this in OverbyteIcsSMtpProt.pas :

Change :
procedure THtmlSmtpCli.TriggerProcessHeader(HdrLines: TStrings);
...
HdrLines[I] := 'Content-Type: multipart/related; ' +
   'type=multipart/alternative;'
...


To :
procedure THtmlSmtpCli.TriggerProcessHeader(HdrLines: TStrings);
...
HdrLines[I] := 'Content-Type: multipart/related; ' //+
   //'type=multipart/alternative;'
...


Outlook Express is always used but does anyone see this problem ?


Best regards,
-
Fabrice


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THtmlSmtpCli Outlook Express and attachment problem

2010-09-03 Thread Arno Garrels
Fabrice,

  Hello,
 
 Outlook Express seems to have a problem to show attachment only in his
 email list (top of the Outlook Express windows). In detail of email we
 see that there is an attachment but not in the email list.

I do not see this in OE v6 with default e-mail and MailSndHtml demo.
If there is an attachment OE displays the paper clip for me, if there
are only embedded images there's no paper clip visible.

-- 
Arno Garrels

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THtmlSmtpCli Outlook Express and attachment problem

2010-09-03 Thread Fabrice Vendé



Le 03/09/2010 14:42, Arno Garrels a écrit :


I do not see this in OE v6 with default e-mail and MailSndHtml demo.
If there is an attachment OE displays the paper clip for me, if there
are only embedded images there's no paper clip visible.



You true, this has been fixed somewhere after version 6.05

With this :
procedure THtmlSmtpCli.TriggerProcessHeader(HdrLines: TStrings);
...
 if FEmailFiles.Count = 0 then  // = by this line


Which doesn't exists in version 6.05

Sorry for useless report,

Best regards,

-
Fabrice



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be