Hello Fabrice,

> When I send an email with more than 10 inline images (multipart),
> images after the 9th are not displayed on Orange webmail.
> It work fine on other webmail like Gmail or Hotmail.
> It work fine with Indy SMTP component are any email client. It's only
> a THtmlSmtpCli problem.
> Like if Orange Webmail don't like TSmtpCli content and cut after more
> than 9 inline images.
> 
> It can be easily tested with "OverbyteIcsMailHtml.dpr" (in
> http://svn.overbyte.be:8443/svn/ics/branches/icsv7/Delphi/Internet/ )
>  with more than 10 inline image send to an Orange webmail.
> 
> 
> Nevertheless I have found a solution which work fine :
> In OverbyteIcsSmtpProt.pas
> 
> Change :
> StrPCopy(PAnsiChar(MsgLine), 'Content-ID: <IMAGE' +
>                                  IcsIntToStrA(FImageNumber) + '>')
> To :
> StrPCopy(PAnsiChar(MsgLine), 'Content-ID: <IMAGE' +
>                                  IcsIntToStrA(FImageNumber) +
> 'INCLD>') 

I just checked in revision #584, log:
New property THtmlSmtpCli.HtmlImageCidSuffix which specifies a custom string to 
be appended to the default Content-ID "IMAGE<number>". Some webmailer did not 
like our default CID. Thanks to Fabrice Vendé for providing a fix.

Note that current ICS V7 moved to trunk:
svn://svn.overbyte.be/ics/trunk
or
http://svn.overbyte.be:8443/svn/ics/trunk

-- 
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

Reply via email to