Re: [twsocket] THtmlSmtpCli and inline image lost
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 IMAGEnumber. 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
Re: [twsocket] THtmlSmtpCli and inline image lost
Le 03/09/2010 09:51, Arno Garrels a écrit : Hello Fabrice, I just checked in revision #584, log: New property THtmlSmtpCli.HtmlImageCidSuffix which specifies a custom string to be appended to the default Content-ID IMAGEnumber. 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 Hello Arno, Thanks to the ICS Team because the solution too add an optionally suffix string (Published) will not break existing development. 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
[twsocket] THtmlSmtpCli Outlook Express and attachment problem
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
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
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
Re: [twsocket] THtmlSmtpCli and inline image lost
Hello, Try this In OverbyteIcsSmtpProt.pas Change : StrPCopy(PAnsiChar(MsgLine), 'Content-ID: IMAGE' + IcsIntToStrA(FImageNumber) + '') To : StrPCopy(PAnsiChar(MsgLine), 'Content-ID: IMAGE' + IcsIntToStrA(FImageNumber) + 'INCLD') Best regards, Le 30/08/2010 23:51, Xavier Mor-Mur a écrit : Hello I get also that with my private account. Also I get something like this with my account at work (server it's Atmail Webmail Client). Next there is result of some check I done using my htmlsmtcli program (using latest revision from svn): 15 images send to : - Orange and Atmail accounts : first 9 images are treated as multipart, next 6 images are treated as attached. - Gmail account : all images are displayed as multipart -- Fabrice Vendé techni...@infocob.com Mozilla Thunderbird http://www.infocob.com/ Développement, formation, matériel, logiciel -- 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 and inline image lost
This code is probably ok to integrate into ics. Idealy tests should be conduced to make sure it doesnt break anything before modifying ics. -- francois.pie...@overbyte. be http://www.overbyte.be Fabrice Vendé techni...@infocob.com a écrit : Hello, Try this In OverbyteIcsSmtpProt.pas Change : StrPCopy(PAnsiChar(MsgLine), 'Content-ID: IMAGE' + IcsIntToStrA(FImageNumber) + '') To : StrPCopy(PAnsiChar(MsgLine), 'Content-ID: IMAGE' + IcsIntToStrA(FImageNumber) + 'INCLD') Best regards, Le 30/08/2010 23:51, Xavier Mor-Mur a écrit : Hello I get also that with my private account. Also I get something like this with my account at work (server it's Atmail Webmail Client). Next there is result of some check I done using my htmlsmtcli program (using latest revision from svn): 15 images send to : - Orange and Atmail accounts : first 9 images are treated as multipart, next 6 images are treated as attached. - Gmail account : all images are displayed as multipart -- Fabrice Vendé techni...@infocob.com Mozilla Thunderbird http://www.infocob.com/ Développement, formation, matériel, logiciel -- 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 -- 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 and inline image lost
On Aug 31, 2010, at 05:12, Francois Piette wrote: This code is probably ok to integrate into ics. Idealy tests should be conduced to make sure it doesnt break anything before modifying ics. What it seems to be doing is adding an arbitrary string to the ID value in order to avoid collisions with assumed values used by some clients. If this is the case, should we not try to add a more random or unique string to better avoid such collisions? I think the Content-ID is one of those standards loosely defined by convention, like Message-ID, which just requires uniqueness, but which everyone does in their own way. dZ. -- 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
[twsocket] THtmlSmtpCli and inline image lost
Hello, I have a strange problem with THtmlSmtpCli in ICS-V7 Distribution (Sep 12, 2009 or last SVN built Revision 579), or ICS-V6 Distribution (Sep 12, 2009) on Delphi 2007 or 2010. 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') Does Content-ID: IMAGE10 is to basic or already use for another thing in Orange web client ? 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 and inline image lost
Hello I get also that with my private account. Also I get something like this with my account at work (server it's Atmail Webmail Client). Next there is result of some check I done using my htmlsmtcli program (using latest revision from svn): 15 images send to : - Orange and Atmail accounts : first 9 images are treated as multipart, next 6 images are treated as attached. - Gmail account : all images are displayed as multipart Forwarding Gmail mail to Orange and Atmail account : - Orange account : as with my program. - Atmail account : all images as multipart. Orange webmail may have a limit on multipart images. Atmail show on different way mail send using ICS or Gmail. I hope this help on any way Regards, Xavi Al 30/08/2010 21:32, En/na Fabrice Vendé ha escrit: Hello, I have a strange problem with THtmlSmtpCli in ICS-V7 Distribution (Sep 12, 2009 or last SVN built Revision 579), or ICS-V6 Distribution (Sep 12, 2009) on Delphi 2007 or 2010. 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') Does Content-ID: IMAGE10 is to basic or already use for another thing in Orange web client ? 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 Se certifico que el correo entrante no contiene virus. Comprobada por AVG - www.avg.es Version: 9.0.851 / Base de datos de virus: 271.1.1/3102 - Fecha de la version: 08/30/10 08:35:00 -- Xavier Mor-Mur -- 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
[twsocket] THtmlSMTPCli
Hi, Is it possible to use cid:image for the background of a mail ? I use cid:image for all images inside the mail but i didn't found how to use it in a background line like this : div style=width : 664px; margin-left: auto; margin-right: auto; background : #FFF url('cid:image1') repeat-y right top; Regards, Olivier Roux -- 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
Hello Olivier, Is it possible to use cid:image for the background of a mail ? I've never tried, so I do not know. Finally it's the mail reader application that has to support and render the raw email. Provided your div tag is syntactically correct, why not just try to load such an email with different clients and see what happens? -- 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
Is it possible to use cid:image for the background of a mail ? I use cid:image for all images inside the mail but i didn't found how to use it in a background line like this : div style=width : 664px; margin-left: auto; margin-right: auto; background : #FFF url('cid:image1') repeat-y right top; Actually it doesn't depends on the SMTP component but on the reader which has to render the message at receive side. I suggest you use outlook (or whatever mail program you use) to generate such HTML message and see how Outlook format his HTML and then use the same format. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- 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