Re: Email Sending - How To
- From: "Mark Williams" <mark@{removethis}skwirel.com>
- Date: Fri, 29 Apr 2005 14:13:57 +0100
This is pretty easy to do with MAPI add MAPI to your uses clause. Do a
search on www.Tamaracka.com for MapiModule. Loads o good examples of how to
do this.
Note, however, that if you want to send e-mail. It's possible to send
e-mails silently (ie without popping up the New Message dialog) by making
sure the paramaters of the send command do not contain the MAPI_DIALOG flag.
However, I think this doesn't get you over the problem of Outlook security
warnings popping up.
You can use Indy for what you want. It's extremely good, but will require a
bit more effort than MAPI, which will just use your default e-mail agent.
"Patrick" <patrick_dohogne@xxxxxxxxx> wrote in message
news:427211f3@xxxxxxxxxxxxxxxxxxxxxxxxx
> 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
>
>
.
- References:
- Email Sending - How To
- From: Patrick
- Email Sending - How To
- Prev by Date: Re: Email Sending - How To
- Next by Date: Re: Is there anybody here that can help with DIHTMLParser component please???
- Previous by thread: Re: Email Sending - How To
- Next by thread: Re: Email Sending - How To
- Index(es):