I've extracted some data from an SQL server, put it into an array, and want to mail it's content to a group of people.
All quite easy, until it comes to presentation in the mail body.

When I set it up manually in Excel and do Copy - Paste it looks readable. How do I create a 2D "worksheet" that I can put into the mail body so it looks ok?

(I'm quite a n00b at this, so there are surely some premade functions for this, If so, just point me in the right direction)

You are using HTML email for this? Because if yes, the formatting is reasonably easy. Use a table and some CSS in-line styling.

Yes, that will work.
Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.