Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-08 Thread wayne forrest
Ok that worked by I hit a BRICK WALL :-( ;

This is not related to ICS but the way that the Mail-Module Works.

Here is my Problem I am having.

(1'st Email)
(Trigger to Send Email)--Class Fucntion to Send Email.
 Event Mail Sent --Delete Temp
Files

(2'nd Email)
(Trigger to Send Email)--Class Fucntion to Send Email.
 Event Mail Sent --Delete Temp
Files

My problem is that the File List (TStrings) is LOST or not initialized since
it is not STATIC;

It seems to me to solve the PRoblem I will have to not use CLASS Functions;

Is there any other way; Like a STATIC Variable in Delphi 7;

I tried the {J+} const aFileList : TStrings = nil; {J-} but it did not WORK;






On Wed, May 7, 2008 at 4:19 PM, Arno Garrels [EMAIL PROTECTED] wrote:

 wayne forrest wrote:

  How do I know if the mail was sent OK;

 When OnRequestDone triggers with request smtpData and no error the
 mail has been sent to server sucessfully.

 Kind regards,

 Arno Garrels

 -
 DuoData Software
 Arno Garrels
 Libauer Strasse 12
 D-10245 Berlin Germany

 [EMAIL PROTECTED]

 fon  + 49  30  29 00 71 74

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




-- 
C: 076 337 4368
T: 021 880 2037
F: 021 880 2530
-- 
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] SMTP Client - Delete Temp files -

2008-05-07 Thread DZ-Jay
wayne forrest wrote:
 Hello,
 
 After I have successfully sent the Email I need to delete the temp Files (
 attachments );
 
 How do I know if the mail was sent OK;

After sending the message and issuing the QUIT command, the 
OnRequestDone is fired with no error with the Request = smtpQuit.

dZ.

-- 
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] SMTP Client - Delete Temp files -

2008-05-07 Thread Arno Garrels
wayne forrest wrote:

 How do I know if the mail was sent OK;

When OnRequestDone triggers with request smtpData and no error the
mail has been sent to server sucessfully. 

Kind regards,

Arno Garrels

-
DuoData Software
Arno Garrels
Libauer Strasse 12
D-10245 Berlin Germany

[EMAIL PROTECTED]

fon  + 49  30  29 00 71 74

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