I have a text file which is generated by some process. The file has 5 columns and 3 records as of now. The number of records can increase later.
I want the simplest way to convert those rows and columns in the tabular format and send it in the mail.
I have already checked a number of posts like below but nowhere it is meeting my exact requirement.
Send Mail HTML Table body & Attachment Text file
Send mail with an attachment and body of mail with table format
I saw various posts to implement multipart mail but i couldn't understand much. Is there a simpler way or is multipart way the only approach?
File :
Col1,col2,col3,col4,col5
Abc,0,5000,4500,True
bcd,1,9000,3000,False
DGF,3,4000,2000,True
This file I want to send in mail as a table.
