This will allow sending forms with file attachments, by declaring a class that represents the form fields and inherits from TMultiPartFormData. File fields must be TMultiPartFormAttachment, wich allows passing a file path or a stream with the file contents in the constructor.
This will allow sending forms with file attachments, by declaring a class that represents the form fields and inherits from
TMultiPartFormData
. File fields must beTMultiPartFormAttachment
, wich allows passing a file path or a stream with the file contents in the constructor.Declaration:
Usage: