fixing EOF indenting, laying groundwork for ssmtp mail delivery from PHP, other services