Forum Moderators: phranque
will create page.html file in current directory.
you can send this file using
cat page.html ¦ mail -s "a page" example@example.com
if you need to add more receipients put them in file receipients.txt, make an executable script named script.sh:
#!/bin/sh
cat page.html ¦ mail -s "a page" $1
and execute it:
cat receipients.txt¦xargs -n1 script.sh
try to search for yourself how to add a header Content-type: text/html to the message.