I want to query database and then send those records in an email.
For sending email I am using c# code.
After querying the data from Table I am writing the data in a csv file. Before sending the csv file as attachment I have to saving the csv file on disk.
Is there any way to send the attachment without saving the csv on disk?