Email Sending - How To



Hi All,

I need to write a batch app. that will loop thru data, and send email
messages.
Something like:

with qryCustomerTable do begin
First;
while (not Eof) do begin
if (qryCustomerTableEmailaddress.Value <> '') then begin
// send an email message
end;
Next;
end;
end;

Where to start? Indy? Where are the examples?

Delphi 7 Pro

tia--Patrick


.



Relevant Pages

  • Re: ifstream limitations?
    ... > The while loop was: ... > above will discover EOF when it calls getline and may ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: For Each
    ... Do While .EOF = False ... > How would you loop through the field in each record using the ... > single form mode, not continious? ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • Checking for EOF with Streamreader
    ... What is the best way to check for EOF when using the streamreader? ... Following is what I have tried but all end in an error when eof is reached. ... Adding 'until line is nothing' to the end of the loop. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: SQL for Quering Access Tables from a Table/Field List Table
    ... from Do until .EOF to End With, and I am prompted to enter the value ... Apparently when there is nothing in the record set it breaks ... out of the loop. ... Prev by Date: ...
    (microsoft.public.access.externaldata)
  • Re: detab utility challenge.
    ... I know he is not suggesting anyone write such a silly loop. ... Once the character returned is EOF, ... Once getc returns EOF (by the way, ...
    (comp.lang.c)