I have to send reports to internal staff. These reports will be sent via email (
ID: 656619 • Letter: I
Question
I have to send reports to internal staff.
These reports will be sent via email (Outlook for the most part).
New reports are sent out daily.
The standard solution would be to send an HTML formatted email. If we had only one or two reports this would not be a problem - but there are a lot of reports, each with a different format. And, as we're using Outlook everything must be in tables and we have to use inline styles. Yukk.
As it happens we are not sending the ENTIRE report in the email. We're only sending the cover page and the users will then click to go to the company intranet and view the complete report there.
One solution that would work (we tested it) would be to take a screenshot (Windows - PRTSC; Snag-It), crop it and then paste that in an email.
So the question is: Is there a software which could be part of the following process:
System runs batch job
HTTP request calls file
Take Screen-shot (jpg); Crop-Screenshot
Save screen shot
Repeat steps 2-4
Send emails with images
Explanation / Answer
ou say in a comment above, "I have steps 1,2 and 5.
Then you only need 3 & 4 - something that you can run from the command line (as a cron job) to take a screenshot of a given URL ...
"webkit2png is a command line tool that creates screenshots of webpages".
The program is for Linux (which I am inferring from your mention of a cron job). I am sure that there is a Windows equivalent, if needed)