I've successfully got email working within a report script, using the mail class that has been posted on these forums.

The next challenge is to take the data that the report is generating and add that to the email somehow, without saving the file output as normal.

Can anyone please give me pointers on how to add the data to the email? My report currently generates an xls file, but I don't want the user to have to select a save location as this report will hopefully be scheduled to run automatically.

Thanks :)

 or register to reply.

Notify Moderator