I am trying to create and send an email attachment from an object that is a list of lists. I found a well-documented answer here , but still has some confusion.
It mentions "get some binary data"
I checked my data:
Console.WriteLine(ieLog.FirstName + "." + ieLog.LastName);
I think my question is how to turn this into a stream, if there is more than one, then use:
and then send the attachment?
Thanks for any help or tips.
I would like to be excel doc or csv if I can't figure it out. I'm sure there are already classes for this kind of thing where newb is looking for this kind of information?
source share