Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread DZ-Jay
On Jan 13, 2007, at 04:50, Dod wrote: > Hello bevan, > > Is it text file or binary file ? > > If text file be sure to set binary mode, if not all #13#10 may be > converted into #10 if destination is Unix system so each text line > will loose 1 byte. In SMTP, you encode the file using MI

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Arno Garrels
Dod wrote: > Hello bevan, > > Is it text file or binary file ? > > If text file be sure to set binary mode, In SMTP?? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html if not all #13#10 may be > converted into #10 if destination is Unix system so each text

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Dod
Hello bevan, Is it text file or binary file ? If text file be sure to set binary mode, if not all #13#10 may be converted into #10 if destination is Unix system so each text line will loose 1 byte. regards. bacn> Sorry, I sent my previous reply directly to you instead of to the list.

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Arno Garrels
Michael Kochendoerfer wrote: > Arno, > > if I'd do it the way you suggest (do it async, fetching the next > record > in OnRequestDone and start over sending), may I use screen output from > there, Yes, of course, take a look at the demo. > including .ProcessMessages? No no, why would you nee

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Michael Kochendoerfer
Arno, if I'd do it the way you suggest (do it async, fetching the next record in OnRequestDone and start over sending), may I use screen output from there, including .ProcessMessages? I know that a good application should display information based on a timer or such, i.e. re-displaying all inf

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Arno Garrels
[EMAIL PROTECTED] wrote: >> Hi Michael, >> >> Sorry, I sent my previous reply directly to you instead of to the >> list. >> >>> thanks for the hint, I already looked into the code and - by the >>> way - I find it very well structured. However, one question is >>> left. There´s always spoken abou

Re: [twsocket] Need a simple SMTP example

2007-01-12 Thread bevan
Hi Michael, Sorry, I sent my previous reply directly to you instead of to the list. > thanks for the hint, I already looked into the code and - by the way - I > find it very well structured. However, one question is left. There´s > always spoken about using async components, but in my special cas

[twsocket] Need a simple SMTP example

2007-01-12 Thread Michael Kochendoerfer
Dear community, a critical situation forces me to implement a quick way for sending mailings with ICS components (all other stuff out there won't work properly, they told me). In fact, it is a rather simple scenario - walking through a customer database and sending SMTP mails to some customers