Follow us on Twitter...
Stay up to date with the latest news, special offers and advice from CensorNet on Twitter... we are Tweeting regularly!
Google Mail (GMail) uses SSL over SMTP to allow users to send e-mail through the Gmail servers. There is a problem with the e-mail library used by CensorNet Professional that prevents SSL from being used. This article explains how to fix it so that you can use a Gmail server for notifications.
The first part requires access to the CensorNet Professional server command line. You can use a tool such as Putty, the virtual machine console directly or a keyboard and monitor connected to the CensorNet server.
Log in to the CensorNet server as the root user and then follow these steps.
To add support to the e-mail library, you need to edit a file by typing:
nano /usr/share/php/libphp-phpmailer/class.smtp.php
Scroll down to line 83 (if using Ubuntu 8.04 - Hardy) or line 113 (if using Ubuntu 10.04 - Lucid) and add the following new line under "// set the error val to null so there is no confusion":
$host = "ssl://" . $host;
Hold down Ctrl and press X then Y then Enter to return to the prompt.
That's all you need to do.
Log in to the CensorNet Professional web control panel and go to System / Configuration / E-mail notifications
Complete the form as outlined below:
Then, please ensure at least one of the tick boxes are selected to receive notifications, and then press Set Options.
![]()