I dynamically generate a results page for my user using information from the db.
While they can see it, I also want to email it to them.
I have the cabability to send the message. Instead of capturing the whole page to a variable, I think it would be more efficient to temporarily save the page in static HTML format and use that to send the mail message. Then delete the static info after the message was sent.
Opinions? And if you think the saving is a good idea - how do I do it?
While they can see it, I also want to email it to them.
I have the cabability to send the message. Instead of capturing the whole page to a variable, I think it would be more efficient to temporarily save the page in static HTML format and use that to send the mail message. Then delete the static info after the message was sent.
Opinions? And if you think the saving is a good idea - how do I do it?