Re: [twsocket] Decoding MIME messages

2009-11-17 Thread Francois PIETTE
What I basically need is to extract a text part from each mail, regardless how many contents it may have. The "text part" is not well defined. You may have an HTML message which is not trivial to convert to a text file. Rendered on screen by a HTML rendere, it may looks like plain text but act

Re: [twsocket] Decoding MIME messages

2009-11-17 Thread Michael Kochendoerfer
Arno, generally, the program should be able to extract the most important information of an automated reply to a mail, i.e. from a mailserver when the destination is unknown, mailbox is full, relaying isn't allowed and the like. Some mailservers seem to return the original mail completely, in

Re: [twsocket] Decoding MIME messages

2009-11-17 Thread Arno Garrels
Michael Kochendoerfer wrote: > Arno, > > yes, the technique is described there - good demos indeed! Being not a > big email specialist, I'm rather confused by the number of > content-types appearing in different mails. Maybe I can get some > valuable hint from contributors of ICS or readers of thi

Re: [twsocket] Decoding MIME messages

2009-11-17 Thread Michael Kochendoerfer
Arno, yes, the technique is described there - good demos indeed! Being not a big email specialist, I'm rather confused by the number of content-types appearing in different mails. Maybe I can get some valuable hint from contributors of ICS or readers of this list. What I basically need is to

[twsocket] Struggling with SSL SMTP

2009-11-17 Thread Jeff Cook
Hi all I need to add SSL support to my existing application that includes some automated emailing. A local ISP has told some of our users that they must use SSL for their email - not sure of the reasons but it happened when the ISP linked up with Yahoo. I thought the best thing to do would to us

[twsocket] REPLYING to MESSAGES --- ETIQUETTE

2009-11-17 Thread markmoss
Ladies / Gentlemen It would be good etiquette for people who are replying to messages to trim the number of reply to messages to only 1. In the last several weeks I have seen many messages with up to 6 reply's attached to the new message. Now I don't know about you but I attemp

Re: [twsocket] Decoding MIME messages (was Can't compile ICS V6)

2009-11-17 Thread Arno Garrels
Kochendoerfer, Michael wrote: > Arno, > > I tried to use TMimeDecodeW, but it won't change its behaviour > regarding the encoded subject. So I guess I've to decode it > separately from the mail, as soon as I detect 'iso-8859-1' in the > subject line. Use property SubjectW instead of the old prope

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Angus Robertson - Magenta Systems Ltd
> I tried to use TMimeDecodeW, but it won't change its behaviour > regarding the encoded subject. > So I firstly have to find which part to decode and secondly to find > how to write just that part to a memory stream and/or file. MIME decoding of encoded subjects and separate parts to streams i

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Kochendoerfer, Michael
Arno, I tried to use TMimeDecodeW, but it won't change its behaviour regarding the encoded subject. So I guess I've to decode it separately from the mail, as soon as I detect 'iso-8859-1' in the subject line. I have another question and I hope someone can help me. I couldn't find useful inform

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Arno Garrels
Kochendoerfer, Michael wrote: > Arno, > > please ignore my last mail - V7 installed without problems. Thanks > for the hint!! > > One of the reasons for my update was a problem with the TMimeDecode > component, but I guess V7 doesn't behave different here. I have a > POP3 mail which has a subjec

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Arno Garrels
Kochendoerfer, Michael wrote: > Arno, > > can I use V7 as a replacement (better, of course!) for my previous > version, which (I think) was V5? The effort to move from V5 to both V6 or V7 is the same. Basically you have to rename the ICS units in project's uses clause, prefix them by "OverByteIcs

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Kochendoerfer, Michael
Arno, please ignore my last mail - V7 installed without problems. Thanks for the hint!! One of the reasons for my update was a problem with the TMimeDecode component, but I guess V7 doesn't behave different here. I have a POP3 mail which has a subject like this: =?iso-8859-1?Q?FW:_Newsletter_

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Kochendoerfer, Michael
Arno, can I use V7 as a replacement (better, of course!) for my previous version, which (I think) was V5? Michael -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: Tuesday, November 17, 2009 10:41 AM To: ICS suppor

Re: [twsocket] Can't compile ICS V6

2009-11-17 Thread Arno Garrels
Kochendoerfer, Michael wrote: > Hi, > > I recently downloaded ICS V6 package from overbyte.be and now I'm > trying to install it according to the readme file. However, I can't > compile it because the compiler gives an error about an unknown > _IntToStr (note the underscore) in OverbyteIcsHttpSrv.

[twsocket] Can't compile ICS V6

2009-11-17 Thread Kochendoerfer, Michael
Hi, I recently downloaded ICS V6 package from overbyte.be and now I'm trying to install it according to the readme file. However, I can't compile it because the compiler gives an error about an unknown _IntToStr (note the underscore) in OverbyteIcsHttpSrv. I'm on D7. What did I miss? TIA, Mic