[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,
Michael


Legal Notice: 

HEM Vertriebs GmbH
Haller Strasse 30
D-74523 Schwaebisch Hall
Fon: +49-791-4079-0
Fax: +49-791-4079-80 

http://www.hem.de   email: i...@hem.de

Rechtsform : HEM Vertriebs GmbH
Handelsregister : Stuttgart HRB 570346
Steuernummer: 84060/00397 UST-ID DE256870483
Sitz der Gesellschaft : Schwäbisch Hall
Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf

--
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] 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.   
> 
> I'm on D7. What did I miss?

This is fixed in latest snapshot downloadable at:
http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS

or simply exchange "_IntToStr" by "IntToStr".

Why don't you use ICS-V7?  
 
--
Arno Garrels

> 
> TIA,
> Michael
> 
> 
> Legal Notice:
> 
> HEM Vertriebs GmbH
> Haller Strasse 30
> D-74523 Schwaebisch Hall
> Fon: +49-791-4079-0
> Fax: +49-791-4079-80
> 
> http://www.hem.de   email: i...@hem.de
> 
> Rechtsform : HEM Vertriebs GmbH
> Handelsregister : Stuttgart HRB 570346
> Steuernummer: 84060/00397 UST-ID DE256870483
> Sitz der Gesellschaft : Schwäbisch Hall
> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
> 
> 
> 
> 
> 
>> --
>> 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] 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 support mailing
Subject: Re: [twsocket] Can't compile ICS V6

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.
>
> I'm on D7. What did I miss?

This is fixed in latest snapshot downloadable at:
http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS

or simply exchange "_IntToStr" by "IntToStr".

Why don't you use ICS-V7?

--
Arno Garrels

>
> TIA,
> Michael
>
>
> Legal Notice:
>
> HEM Vertriebs GmbH
> Haller Strasse 30
> D-74523 Schwaebisch Hall
> Fon: +49-791-4079-0
> Fax: +49-791-4079-80
>
> http://www.hem.de   email: i...@hem.de
>
> Rechtsform : HEM Vertriebs GmbH
> Handelsregister : Stuttgart HRB 570346
> Steuernummer: 84060/00397 UST-ID DE256870483
> Sitz der Gesellschaft : Schwäbisch Hall
> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
>
>
>
>
>
>> --
>> 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


Legal Notice: 

HEM Vertriebs GmbH
Haller Strasse 30
D-74523 Schwaebisch Hall
Fon: +49-791-4079-0
Fax: +49-791-4079-80 

http://www.hem.de   email: i...@hem.de

Rechtsform : HEM Vertriebs GmbH
Handelsregister : Stuttgart HRB 570346
Steuernummer: 84060/00397 UST-ID DE256870483
Sitz der Gesellschaft : Schwäbisch Hall
Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf

--
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] 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_-_Gr=FCn_ist_f=FCr_Sie!?=

And I need to get a plain text subject from that. I thought that in 
OnMessageEnd the .Subject is changed to plain text, but it is not. So I need to 
find a reliable way to detect and convert such subjects into plain text. And 
I'm quite sure that V7 has an option for it. I just can't find it ;)

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 support mailing
Subject: Re: [twsocket] Can't compile ICS V6

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.
>
> I'm on D7. What did I miss?

This is fixed in latest snapshot downloadable at:
http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS

or simply exchange "_IntToStr" by "IntToStr".

Why don't you use ICS-V7?

--
Arno Garrels

>
> TIA,
> Michael
>
>
> Legal Notice:
>
> HEM Vertriebs GmbH
> Haller Strasse 30
> D-74523 Schwaebisch Hall
> Fon: +49-791-4079-0
> Fax: +49-791-4079-80
>
> http://www.hem.de   email: i...@hem.de
>
> Rechtsform : HEM Vertriebs GmbH
> Handelsregister : Stuttgart HRB 570346
> Steuernummer: 84060/00397 UST-ID DE256870483
> Sitz der Gesellschaft : Schwäbisch Hall
> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
>
>
>
>
>
>> --
>> 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


Legal Notice: 

HEM Vertriebs GmbH
Haller Strasse 30
D-74523 Schwaebisch Hall
Fon: +49-791-4079-0
Fax: +49-791-4079-80 

http://www.hem.de   email: i...@hem.de

Rechtsform : HEM Vertriebs GmbH
Handelsregister : Stuttgart HRB 570346
Steuernummer: 84060/00397 UST-ID DE256870483
Sitz der Gesellschaft : Schwäbisch Hall
Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf

--
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] 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".

If you posted custom window messages to ICS object handles some
more changes were required.  

--
Arno Garrels 
 
> 
> 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 support mailing
> Subject: Re: [twsocket] Can't compile ICS V6
> 
> 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.
>> 
>> I'm on D7. What did I miss?
> 
> This is fixed in latest snapshot downloadable at:
> http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS
> 
> or simply exchange "_IntToStr" by "IntToStr".
> 
> Why don't you use ICS-V7?
> 
> --
> Arno Garrels
> 
>> 
>> TIA,
>> Michael
>> 
>> 
>> Legal Notice:
>> 
>> HEM Vertriebs GmbH
>> Haller Strasse 30
>> D-74523 Schwaebisch Hall
>> Fon: +49-791-4079-0
>> Fax: +49-791-4079-80
>> 
>> http://www.hem.de   email: i...@hem.de
>> 
>> Rechtsform : HEM Vertriebs GmbH
>> Handelsregister : Stuttgart HRB 570346
>> Steuernummer: 84060/00397 UST-ID DE256870483
>> Sitz der Gesellschaft : Schwäbisch Hall
>> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
>> 
>> 
>> 
>> 
>> 
>>> --
>>> 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
> 
> 
> Legal Notice:
> 
> HEM Vertriebs GmbH
> Haller Strasse 30
> D-74523 Schwaebisch Hall
> Fon: +49-791-4079-0
> Fax: +49-791-4079-80
> 
> http://www.hem.de   email: i...@hem.de
> 
> Rechtsform : HEM Vertriebs GmbH
> Handelsregister : Stuttgart HRB 570346
> Steuernummer: 84060/00397 UST-ID DE256870483
> Sitz der Gesellschaft : Schwäbisch Hall
> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
--
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] 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 subject like this:  
> 
> =?iso-8859-1?Q?FW:_Newsletter_-_Gr=FCn_ist_f=FCr_Sie!?=
> 
> And I need to get a plain text subject from that. I thought that in
> OnMessageEnd the .Subject is changed to plain text, but it is not. So
> I need to find a reliable way to detect and convert such subjects
> into plain text. And I'm quite sure that V7 has an option for it. I
> just can't find it ;) 

Have a look at the new TMimeDecodeW, it decodes those inline encoded 
strings to WideString/UnicodeString. 
Display with non-Unicode compilers will only work reliable if the 
charset matches system's default ansi charset.
"iso-8859-1" will display fine with windows-1252 except for the EURO 
sign. Or use the TNT-Unicode components mentioned in OverbyteIcsMimeDemo. 

--
Arno Garrels

   
> 
> 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 support mailing
> Subject: Re: [twsocket] Can't compile ICS V6
> 
> 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.
>> 
>> I'm on D7. What did I miss?
> 
> This is fixed in latest snapshot downloadable at:
> http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS
> 
> or simply exchange "_IntToStr" by "IntToStr".
> 
> Why don't you use ICS-V7?
> 
> --
> Arno Garrels
> 
>> 
>> TIA,
>> Michael
>> 
>> 
>> Legal Notice:
>> 
>> HEM Vertriebs GmbH
>> Haller Strasse 30
>> D-74523 Schwaebisch Hall
>> Fon: +49-791-4079-0
>> Fax: +49-791-4079-80
>> 
>> http://www.hem.de   email: i...@hem.de
>> 
>> Rechtsform : HEM Vertriebs GmbH
>> Handelsregister : Stuttgart HRB 570346
>> Steuernummer: 84060/00397 UST-ID DE256870483
>> Sitz der Gesellschaft : Schwäbisch Hall
>> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
>> 
>> 
>> 
>> 
>> 
>>> --
>>> 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
> 
> 
> Legal Notice:
> 
> HEM Vertriebs GmbH
> Haller Strasse 30
> D-74523 Schwaebisch Hall
> Fon: +49-791-4079-0
> Fax: +49-791-4079-80
> 
> http://www.hem.de   email: i...@hem.de
> 
> Rechtsform : HEM Vertriebs GmbH
> Handelsregister : Stuttgart HRB 570346
> Steuernummer: 84060/00397 UST-ID DE256870483
> Sitz der Gesellschaft : Schwäbisch Hall
> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
--
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] 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 
information yet.

I have to retrieve mails via POP3 (currently working!) and decode its textual 
part, which is then parsed and written to a file. I can see that some multipart 
messages have a text/plain part, but some others just have several 
multipart/alternative parts. 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.

A (simple) sample which addresses multipart messages would be fine ;)

Thanks,
Michael

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On 
Behalf Of Arno Garrels
Sent: Tuesday, November 17, 2009 11:16 AM
To: ICS support mailing
Subject: Re: [twsocket] Can't compile ICS V6

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 subject like this:
>
> =?iso-8859-1?Q?FW:_Newsletter_-_Gr=FCn_ist_f=FCr_Sie!?=
>
> And I need to get a plain text subject from that. I thought that in
> OnMessageEnd the .Subject is changed to plain text, but it is not. So
> I need to find a reliable way to detect and convert such subjects
> into plain text. And I'm quite sure that V7 has an option for it. I
> just can't find it ;)

Have a look at the new TMimeDecodeW, it decodes those inline encoded
strings to WideString/UnicodeString.
Display with non-Unicode compilers will only work reliable if the
charset matches system's default ansi charset.
"iso-8859-1" will display fine with windows-1252 except for the EURO
sign. Or use the TNT-Unicode components mentioned in OverbyteIcsMimeDemo.

--
Arno Garrels


>
> 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 support mailing
> Subject: Re: [twsocket] Can't compile ICS V6
>
> 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.
>>
>> I'm on D7. What did I miss?
>
> This is fixed in latest snapshot downloadable at:
> http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS
>
> or simply exchange "_IntToStr" by "IntToStr".
>
> Why don't you use ICS-V7?
>
> --
> Arno Garrels
>
>>
>> TIA,
>> Michael
>>
>>
>> Legal Notice:
>>
>> HEM Vertriebs GmbH
>> Haller Strasse 30
>> D-74523 Schwaebisch Hall
>> Fon: +49-791-4079-0
>> Fax: +49-791-4079-80
>>
>> http://www.hem.de   email: i...@hem.de
>>
>> Rechtsform : HEM Vertriebs GmbH
>> Handelsregister : Stuttgart HRB 570346
>> Steuernummer: 84060/00397 UST-ID DE256870483
>> Sitz der Gesellschaft : Schwäbisch Hall
>> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
>>
>>
>>
>>
>>
>>> --
>>> 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
>
>
> Legal Notice:
>
> HEM Vertriebs GmbH
> Haller Strasse 30
> D-74523 Schwaebisch Hall
> Fon: +49-791-4079-0
> Fax: +49-791-4079-80
>
> http://www.hem.de   email: i...@hem.de
>
> Rechtsform : HEM Vertriebs GmbH
> Handelsregister : Stuttgart HRB 570346
> Steuernummer: 84060/00397 UST-ID DE256870483
> Sitz der Gesellschaft : Schwäbisch Hall
> Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf
--
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


Legal Notice: 

HEM Vertriebs GmbH
Haller Strasse 30
D-74523 Schwaebisch Hall
Fon: +49-791-4079-0
Fax: +49-791-4079-80 

http://www.hem.de   email: i...@hem.de

Rechtsform : HEM Vertriebs GmbH
Handelsregister : Stuttgart HRB 570346
Steuernummer: 84060/00397 UST-ID DE256870483
Sitz der Gesellschaft : Schwäbisch Hall
Geschaeftsfuehrer: Gunter Schaaf, Rene Schaaf

--
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] 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 is
illustrated in OverbyteIcsMimeDemo, which includes several sample MIME
emails which you can decode.  Once you've saved your own emails to text
files, you can decode those with this demo as well.  

You can also use my MailMaint application, which is written using ICS v7
with the POP3 and MIME components, and which will save all emails in a
POP3 mailbox to text files, and decode them.  

http://www.magsys.co.uk/mailmaint/

Angus

--
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] 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 property Subject.
Use function DecodeMimeInlineValue(const Value : AnsiString): UnicodeString; 
to decode header lines or use the W-properties of TMimeDecodeW.
   
> I have to retrieve mails via POP3 (currently working!) and decode its
> textual part, which is then parsed and written to a file. I can see
> that some multipart messages have a text/plain part, but some others
> just have several multipart/alternative parts. So I firstly have to
> find which part to decode 

Decode all text parts. And if they have a different codepage (property
PartCodePage) than the default system ANSI codepage I suggest to convert
them to UTF-8

> and secondly to find how to write just that
> part to a memory stream and/or file. 

and save them with UTF-8 BOM to file. 

> 
> A (simple) sample which addresses multipart messages would be fine ;)

Most of your questions are answered in OverbyteIcsMimeDemo.


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


[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 attempt to read each email that I receive 
from TWSocket maining list and 

 having to go thru endless reply to's that I have already read is time 
consuming.

Thanks


Mark Moss



--
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] 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 use the SSL SMTP demo program to
prove that I could make the connection before I coded anything into my
program.  BUT I just can't make it work.  The ISP told the user that to
make their Outlook email client work that they just had to tick the
"This server requires a secure connection (SSL)" box and as far as I
know that is all they have had to do.  I'm using their
Username/Password/SMTP Host/From/Port in running my test.

I've tried various combinations of Authentication and SSL-Type with no
success - they usually end up with the message "530 Access denied".

The following info messages came up when I tried Plain and Implicit and
pressed the following buttons:-

Connect
Helo
Ehlo
Auth

! Starting SSL handshake
Secure connection with TLSv1, cipher AES256-SHA, 256 secret bits (256
total)
< 220 smtp103.tnz.mail.aue.yahoo.com ESMTP
RequestDone Rq=0 Error=0
> HELO ASL3
< 250 smtp103.tnz.mail.aue.yahoo.com
RequestDone Rq=1 Error=0
> EHLO ASL3
< 250-smtp103.tnz.mail.aue.yahoo.com
< 250-AUTH LOGIN PLAIN XYMCOOKIE
< 250-PIPELINING
< 250 8BITMIME
RequestDone Rq=10 Error=0
> AUTH PLAIN ci5sY29ub24Aci5sY29ub25AeHRyYS5jby5uegBiZWFyMTAzNg==
< 530 Access denied
RequestDone Rq=11 Error=530 Access denied

I also get "RequestDone Rq=11 Error=500 STARTTLS is not available."
whenever I press the StartTLS button or change the SSL-Type to Explicit.

Any clues as to what I have wrong or how to find out where it is going
wrong?

TIA

Jeff

--
Jeff Cook
Aspect Systems Ltd
www.aspect.co.nz
+
The Cooks Oasis
www.cookislandsoasis.com
Phone: +682 28 213
Skype: jeffraro

--
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] 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 extract a text part from each mail, 
regardless how many contents it may have. Additionally, some senders 
attach graphics to their mail or put it inline. This is overhead which I 
don't necessarily need. I need to write a program which gets mail from a 
POP3 server, decodes its text part on-the-fly and writes it to a text 
file. Possibly that text part is sent through a parser prior to writing. 
I've realized the POP3 part and the basic mail processing, but I'm 
failing on the content separation part.


Could someone please put me into the right direction? ;)

TIA,
Michael



Arno Garrels wrote:

Kochendoerfer, Michael wrote:
  
[...]
  

A (simple) sample which addresses multipart messages would be fine ;)



Most of your questions are answered in OverbyteIcsMimeDemo.


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



  


--
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] 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 this list.
> 
> What I basically need is to extract a text part from each mail,

One or multiple? Including text file attachments?

--
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] 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, 
including all original attachments. But those aren't of any interest ;)


The program is meant to act as a feed for a database containing some 
mail addresses, and does some action there (delete mail addresses which 
don't exist, put a note on mail addresses where the mailbox is full, and 
the like). But the most difficult job would be to determine which 
failure is described where and how, in each reply


Btw... I saw mails containing alternate/multipart elements, and I'm not 
sure if there are text/plain or text/html parts inside.


TIA,
Michael

Arno Garrels schrieb:

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 this list.

What I basically need is to extract a text part from each mail,



One or multiple? Including text file attachments?

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



  


--
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] 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 actually it isn't. You may also have an RTF 
formatted message. Or a plain text part and a HTML part with eauivalent 
content. You have to handle all the situation by detecting what format it 
is. You are helped by the various headers.


Are you writing an email client, that is a program whose goal is to display 
messages on screen ? Then you need ICS-POP3 component to retieve the 
messages, ICS MIME component to extract the parts and as many renderer 
component as you want to support messages types.


Are you writing some sort of automation which uses email as transport and 
use the data within email for data processing and not to display it on 
screen as an email ? That's a different thing.



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