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
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 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;
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
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.