Re: [twsocket] Decoding MIME messages

2009-11-17 Thread Michael Kochendoerfer
, 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 Garre

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

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Michael Kochendoerfer
it and check as soon as I have a free moment. I post copy on this list as it probably will benefit others. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, November 16, 2009, 18:19, Michael Kochendoerfer wrote: Wilfried,

Re: [twsocket] Simple POP3 application

2009-11-16 Thread Michael Kochendoerfer
Wilfried, thanks for your great support! I'd like to send you the example offline, as soon as I'll get access to my office pc. Michael Wilfried Mestdagh schrieb: Hello Michael, Can you point me to the example and what exacly is going wrong? I like to help you. --- Rgds, Wilfried [TeamICS]

Re: [twsocket] Still problems while sending SMTP

2007-01-17 Thread Michael Kochendoerfer
mailing >>>>>Subject: Re: [twsocket] Still problems while sending SMTP >>>>> >>>>> >>>>>In order to reconnect safely you need to get out of your loop >>>>>after the session has been closed AND after OnRequestDone &

Re: [twsocket] Still problems while sending SMTP

2007-01-16 Thread Michael Kochendoerfer
Arno and all, I realized and appreciated your hint to perform it all event-driven and I tried to accomplish it the way you suggested. However, I have some problems building the correct logic, it seems. In short words, the mail sending part of my application is as follows: 1. Opening a SQL serv

Re: [twsocket] Still problems while sending SMTP

2007-01-16 Thread Michael Kochendoerfer
Wilfried, my app is just single-threaded. The design doesn't require multithreading because each mail is sent when the previous one has been delivered. But you gave me another idea for another part of my app ;) I think that all ideas I collected from Arno and all other contributors will help m

[twsocket] Still problems while sending SMTP

2007-01-15 Thread Michael Kochendoerfer
Dear community, it's me again ... some of you directed me the right way sending SMTP mails in async mode. I analyzed the MailSnd1 example and I built a component based on TSmtpCli, which wraps some of my application specific data. After setting all required properties, I do a Connect and the c

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

[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