Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Output From Webserver to E-mail
- Geoff Schultz
June 14, 2008, 2:53 pm
rate this thread
radio. I don't have Internet access from the boat. These logs include
position data which appears as a google map on the web site. For an
example, please see
I also have an e-mail list server to which I e-mail plain text versions of
my blogs. It would be very nice if I could instead e-mail the html output
of the web server blog page.
I have a perl script which processes the incoming e-mail and creates the
sql database entry with blog. What I don't know how to do is to take the
output of the Apache web server and redirect that to a mail message to my
I hope this makes sense. Any ideas?
June 14, 2008, 5:29 pm
Re: Output From Webserver to E-mail
Cool! but not relevant.
Write a shell script to get the latest page and mail it to the list.
I would use bash, wget, and sendmail. I would then call the script from
a cron job (storing the last page read in a configuration file), or even
better call it from the incoming email script.