(07-19-2024, 08:34 PM)Justin Case Wrote: Can you give me any pointers (or even code) as to where I start with this component?
If you mean TIdSMTPRelay, then you use it similarly to TIdSMTP, in that you create a TIdMessage and give it to the TIdSMTPRelay.Send() method.
However, it is different then TIdSMTP in that:
- you don't call Connect() on it, as it manages its own connections internally.
- you have to assign it a DNSServer so it can lookup the SMTP server of each recipient domain.
- when sending the TIdMessage, you can pass in the ASender.RCPTList as a parameter to Send() so it knows who to send to. It CAN use the TIdMessage to determine the recipients (To, CCList, and BCCList), but use the ASender.RCPTList when you have it handy.

