Rename basefolder 'rainloop' to 'snappymail'

this prevents conflicts with original rainloop
This commit is contained in:
djmaze 2020-10-15 16:21:52 +02:00
parent 2655f5ea00
commit d0f686c657
962 changed files with 113 additions and 119 deletions

View file

@ -6,7 +6,7 @@
* This plugin sets the IMAP and SMTP host to "example.com" upon login, and then connects to it.
*
* Based on:
* https://github.com/RainLoop/rainloop-webmail/blob/master/plugins/override-smtp-credentials/index.php
* https://github.com/the-djmaze/snappymail/blob/master/plugins/override-smtp-credentials/index.php
*
*/

View file

@ -18,10 +18,10 @@ class CustomAuthExamplePlugin extends \RainLoop\Plugins\AbstractPlugin
{
// Your custom php logic
// You may change login credentials
if ('demo@rainloop.net' === $sEmail)
if ('demo@snappymail.eu' === $sEmail)
{
$sEmail = 'user@rainloop.net';
$sLogin = 'user@rainloop.net';
$sEmail = 'user@snappymail.eu';
$sLogin = 'user@snappymail.eu';
$sPassword = 'super-puper-password';
}
else