mierlp
  • mierlp
  • 53% (Neutral)
  • Newbie Topic Starter
3 years ago
Hi

https://emailarchitect.net/easendmail/kb/delphi.aspx?cat=12#send-email-with-multiple-threads-mass-mail-in-delphi 
you send mail by using FastSender.

In this example the array is created :
- RecipientAddr: array[0..2] of WideString is created manual
- RecipientAddr are filled manual/code

Who to do this in Delphi in combination with a dbgrid or database records because the
array must be filled based on the selected records. Also ReciepentAddr must be
filled with record values

Regards Peter
ivan
  • ivan
  • 100% (Exalted)
  • Administration
3 years ago
Hi, if you used a database records, you don't have to use RecipientAddr array.


Pseudo codes:

Enumerate your recordset in a loop
  begin
    oSmtp.ClearRecipient();
    oSmtp.AddRecipientEx(current record value, 0);
    m_oFastSender.Send(oSmtp.DefaultInterface, i, current record value)
  end;

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.