PHP Encrypted email / Joomla Admin Script on Cron

This is for anyone who runs Joomla & wants the Admin password emailed securely with GPG & changed regularly with Cron or is interested in just encrypting forms or data & having them emailed..

The attached zip contains the directory structure that should be uploaded to your root & the following files just need a little configuration with your paths / usernames :

mail.inc.php
gpg.inc.php

There are also 2 text files with some notes on the .gnupg directory permissions & the Cron command to make it all run. If you are going to run Cron read them both - also note absolute paths are used in the scripts as Cron runs without any environment variables.

For people just wanting a secure mailer just extract the relevant code towards the end of the password script & add code for a form to collect data to encrypt.

Stuart.
 

Attachments

  • JOSecuremailer.zip
    28.1 KB · Views: 94
Back
Top