Helo Wilfred !
> You should first check the state of the component before posting the
> message. If not ready then OnRequestdone will be fired again when
> component is ready.
YES, it's helps !!! You should insert these check inside SmtpCli component !
Because without this check it's works buggy
Hello Max,
> I receive SmtpRequestDone with error 10044 (Interrupted System Call),
There must be something wrong in your design to have that error. Are you
sure you dont call Abort at the wrong time ?
> then i PostMessage to initiate new Session, after receiving message by
> my messages Handler
ucts.
> AMS Development Team.
> [EMAIL PROTECTED]
>
>
> - Original Message -
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Sunday, July 30, 2006 8:47 PM
> Subject: Re: [twsocket] Best event to start new Sm
nRequestDone may show "Component not ready error".
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
On Jul 30, 2006, at 12:26, Max Terentiev wrote:
> My program MUST call Abort() because it's email checker. It's interrupt
> connection after Success of RCPT command.
DO NOT call Abort(), call QUIT!! Then OnRequestDone is triggered when
it finishes and the connection is closed cleanly. Abort()
MAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, July 30, 2006 6:26 PM
Subject: Re: [twsocket] Best event to start new Smtp session
> Helo Francois,
>
>>> Because it's looks like a serious bug.
>>
>> Then you have a serious opportunity to dig in
http://www.overbyte.be
>
>
>
> - Original Message -
> From: "Max Terentiev" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Sunday, July 30, 2006 5:17 PM
> Subject: Re: [twsocket] Best event to start new Smtp session
>
>
&g
t. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Max Terentiev" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, July 30, 2006 5:17 PM
Subject: Re: [twsocket] Best event to start new
Hello Francois,
> I'm not sure. Abort is probably a synchronous method. If not, you'll get an
> OnRequestDone event.
I think it is closing and returning without firing event. It is long ago
I checked this...
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www
Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, July 30, 2006 6:24 PM
Subject: Re: [twsocket] Best event to start new Smtp sessio
Hello Max,
I just checked a few projects of me where I use TSmtpCli. I use
OnSessionClosed only for logging purposes. So you dont need it.
As DZ mentioned is that the reason wy you call Abort ? Then maybe it is
better to follow his Reset advice.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.b
Saturday, July 29, 2006, 11:48, Max Terentiev wrote:
> Helo,
>
> What is a best event for starting new Smtp session (e.g.
> start sending next message after previous is sent or aborted)?
Use OnRequestDone(). Check from there if the request was Abort.
What I do is that I build a state machine in
"
Sent: Sunday, July 30, 2006 3:27 PM
Subject: Re: [twsocket] Best event to start new Smtp session
> Hello Wilfred,
>
> I try to post message inside OnSessionClosed...
> But I notice another problem:
>
> I don't know why but OnSessionClosed called twice in some cases !
no Abort) ?
>
>> ---
>> With best regards, Max Terentiev.
>> Business Software Products.
>> AMS Development Team.
>> [EMAIL PROTECTED]
>
>
>> - Original Message -
>> From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
>> To
On Jul 30, 2006, at 04:39, Francois PIETTE wrote:
>> But how I can detect that SmtpCli->Abort() is finished, component is
>> ready and I can call SmtpCli->Connect again for next message ?
>>
>> If I call SmtpCli->Connect() IMMEDIATELY after SmtpCli->Abort()
>> I should receive "Component Not Read
> But how I can detect that SmtpCli->Abort() is finished, component is
> ready and I can call SmtpCli->Connect again for next message ?
>
> If I call SmtpCli->Connect() IMMEDIATELY after SmtpCli->Abort()
> I should receive "Component Not Ready" error, right ?
I'm not sure. Abort is probably a sync
usiness Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, July 29, 2006 2:04 PM
Subject: Re: [twsocket] Best event to start new Smtp session
se of successfull sending (no Abort) ?
> ---
> With best regards, Max Terentiev.
> Business Software Products.
> AMS Development Team.
> [EMAIL PROTECTED]
> - Original Message -
> From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
> To: "ICS support ma
usiness Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, July 29, 2006 2:04 PM
Subject: Re: [twsocket] Best event to start new Smtp session
Hello Max,
Use OnRequestDone to trigger next sending, not OnStateChange or
OnSessionClosed. Both latter are more for log or display updates.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Saturday, July 29, 2006, 11:48, Max Terentiev wrote:
Helo,
What is a best event for starting new Smtp session (e.g.
start sending next message after previous is sent or aborted)?
I was try to Use OnSessionClosed or OnStateChange events
(in OnStateChange i wait for SmtpCli->State==smtpReady and
Smtp->CtrlSocket->State=wsClosed).
But anyway i receiv
21 matches
Mail list logo