The OpenD Programming Language

RecipientList

Structured representation of email users, including the name and email address as separate components.

EmailRecipient represents a single user, and RecipientList represents multiple users. A "recipient" may also be a from or reply to address.

More...
struct RecipientList {
EmailRecipient[] recipients;
}

Detailed Description

RecipientList is a wrapper over EmailRecipient[] that provides overloads that take string arguments, for compatibility for users of previous versions of the arsd.email api. It should generally work as you expect if you just pretend it is a normal array though (and if it doesn't, you can get the internal array via the recipients member.)

Meta

History

Added May 13, 2024 (dub v12.0) to replace the old plain, public strings and arrays of strings.