I want to send the data in a file as an attachment of an email content. My current approach is to get the data from the database profile and map it to a flat file profile and keep that file in a server. and in the next branch, I am reading the file again and then sending a mail having the data in an attachment.
However, I am using the disk connector here. Can someone please tell me how we can send the attachment without writing and reading the file from the disk.