Re: [twsocket] TWSocket Digest, Vol 495, Issue 3

2012-10-21 Thread François Piette
 I can get the attachment file on the IPhone, but as a side effect I get
all 
 embedded images as attachments too at the bootom of the message.

Are you able to send such as message using a mail client such as Outlook ?
If yes, just have a look at how that message is formatted and change the
component to have the same formatting, and of course report the solution
here.

-- 
francois.pie...@overbyte.be
Embarcadero MVP
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] TWSocket Digest, Vol 495, Issue 3

2012-10-19 Thread Adrian
Hello,
 
After more investigations I found that if I do the following changes in the 
ProcessHeader event of THTMLSMTPClient component
 
procedure TdmEMail_ICS.SynchMailerProcessHeader(Sender: TObject;
  HdrLines: TStrings);
begin
  inherited;
  HdrLines.Text := StringReplace(HdrLines.Text, 
'type=multipart/alternative;', '', []);
  HdrLines.Text  := StringReplace(HdrLines.Text, 'multipart/related', 
'multipart/mixed', []);
end;

I can get the attachment file on the IPhone, but as a side effect I get all 
embedded images as attachments too at the bootom of the message.
 
I'm still looking for a better solution if anybody has one.
 
Adrian.
 


 From: twsocket-requ...@elists.org twsocket-requ...@elists.org
To: twsocket@elists.org 
Sent: Thursday, October 18, 2012 8:00:03 AM
Subject: TWSocket Digest, Vol 495, Issue 3
  
Send TWSocket mailing list submissions to
    twsocket@elists.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
or, via email, send a message with subject or body 'help' to
    twsocket-requ...@elists.org

You can reach the person managing the list at
    twsocket-ow...@elists.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of TWSocket digest...


Today's Topics:

   1. Re: FIX for bug in HdrEncodeInline and/or StrEncodeQPEx    !!
      (Arno Garrels)
   2. Re: BUG REPORT: Division by zero (Arno Garrels)
   3. THTMLSmtpClient - IPhone (Adrian)


--

Message: 1
Date: Wed, 17 Oct 2012 17:08:54 +0200
From: Arno Garrels arno.garr...@gmx.de
Subject: Re: [twsocket] FIX for bug in HdrEncodeInline and/or
    StrEncodeQPEx    !!
To: ICS support mailing twsocket@elists.org
Message-ID: E5B79BBEFAF44B3EA362E3F503EC5236@asus
Content-Type: text/plain;    charset=iso-8859-1

Max Terentiev wrote:
 I fixed a bug in the HdrEncodeInline-StrEncodeQPEx wrote about
 yesterday. 

Hello Max,

Many thanks for this, I just checked in your fix in both SVN repos,
v7 and v8. So next daily snapshots will include your fix.

-- 
Arno


--

Message: 2
Date: Wed, 17 Oct 2012 19:15:10 +0200
From: Arno Garrels arno.garr...@gmx.de
Subject: Re: [twsocket] BUG REPORT: Division by zero
To: ICS support mailing twsocket@elists.org
Message-ID: 573228748BE749D3B75EDE3EECE6F67D@asus
Content-Type: text/plain;    charset=iso-8859-1

Vladimir Kudelin wrote:
 Therefore, I had to apply the following fix:
 
    if Tick = FPrevTick then
        FCurSpeed := 0
    else
        FCurSpeed := 8 * (FTotalCount - FPrevCount) / (Tick -
 FPrevTick); 


Hello Vladimir,

Many thanks for this, I just checked in your fix in both SVN repos,
v7 and v8. So next daily snapshots will include your fix.

-- 
Arno



--

Message: 3
Date: Wed, 17 Oct 2012 20:54:24 -0700 (PDT)
From: Adrian adije...@yahoo.com
Subject: [twsocket] THTMLSmtpClient - IPhone
To: twsocket@elists.org twsocket@elists.org
Message-ID:
    1350532464.88671.yahoomail...@web120905.mail.ne1.yahoo.com
Content-Type: text/plain; charset=us-ascii

Hi Everybody,

Anybody know is there is a problem in viewing the attachment file on IPhone 
(Yahoo, Hotmail, GMail accounts), I'm sending a HTML email with embedded images 
and a file as an attachment but on I can't see it on IPhone. In the message 
header I can see the little icon indicating that I have an attachment.

--

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

End of TWSocket Digest, Vol 495, Issue 3

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