addFile
inline fun MessageBuilder.addFile(name: String, contentProvider: ChannelProvider, builder: AttachmentBuilder.() -> Unit): NamedFile(source)
Adds a file with name and contentProvider to files.
The corresponding attachment object can be configured with builder.