Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mierlp  
#1 Posted : Monday, September 5, 2022 1:22:07 AM(UTC)
mierlp

Rank: Newbie

Groups: Registered
Joined: 4/5/2016(UTC)
Posts: 4

Hi

In this example : https://emailarchitect.n...eads-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

Edited by user Monday, September 5, 2022 1:59:56 AM(UTC)  | Reason: Not specified

ivan  
#2 Posted : Monday, September 5, 2022 7:02:21 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,124

Thanks: 9 times
Was thanked: 50 time(s) in 50 post(s)
Hi, if you used a database records, you don't have to use RecipientAddr array.

Code:

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;
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2022, Yet Another Forum.NET
This page was generated in 0.036 seconds.

EXPLORE TUTORIALS

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