Subscribe For Free Updates!

We'll not spam mate! We promise.

Sunday 24 November 2013

DMASOFTLAB RM 4.0.4 [Only]: Email Notifications for various events

DMASOFTLAB Radius Manager 4.0.4  have interesting feature of email notifications for various events like account expiry warning, account renewal notification, send custom email to all users, password recovery via email verification code and many more. By default RM uses authentication less smtp server of your ISP, but in most cases Email sent from the RM box arrives in JUNK/SPAM folder in users email box, and sometimes bounces back due to black listed IP’s . This happens very frequent in my country as we widely use national telecom company internet service called PTCL, whose ip’s usually get blocked by many email services. Therefore I created this method by installing SENDMAIL in RM box, and uses my GMAIL account as SENDMAIL SMTP RELAY. This way RM sends mail via localhost, which uses valid GMAIL account to send email and email arrives in users INBOX directly :)
First we need to configure sendmail with gmail smtp relay. Use the below link to install.
http://aacable.wordpress.com/2012/12/27/howto-configure-gmail-as-sendmail-relay-d-also-can-be-used-with-rm-to-send-email-notifications/
After you have verified your smtp server is working fine by sending test email to your Hotmail/gmail/yahoo mail account.
You need to edit the following files.
/etc/radiusmanager.cfg
/var/www/radiusmanager/config/system_cfg.php
SAMPLES:

/etc/radiusmanager.cfg

1
2
3
4
smtp_relay              localhost                       ; smtp relay
mail_from               GMAILID@gmail.com               ; email sender address
mail_reply              GMAILID@gmail.com               ; email reply adddress
mail_localdomain        127.0.0.1                       ; email local domain

/var/www/radiusmanager/config/system_cfg.php

1
2
3
4
5
6
define("smtp_relay", "localhost");                            // SMTP relay
define("mail_from", "GMAILID@gmail.com");                   // warning email sender
define("mail_reply", "GMAILID@gmail.com");                  // warning email return path
define("mail_preview", "GMAILID@gmail.com");                // preview user of mass mail
define("mail_newuser", "GMAILID@gmail.com");                // self registered new user notification
define("mail_localdomain", "127.0.0.1");                      // default domain name
.
Now Open RM ACP (Administrator Control Panel) ,
Goto SYSTEM > SYSTEM SETTINGS
& check the following settings.
As showed in the image below . . .
5- email setting.
Now Administrator & user will receive various Email Notifications.
As showed in the images below . . .
.
Account Expiry before 5 Days (days are configurable via admin panel / home ,settings)
1- Account Expire Warning
.
.
Welcome Message for newly registered users
2- Welcome New User.
.
Recover Password by Email
3- Recover password by email
.
.
Account Renewed Notification
4- Account Renewed
.
Note: Please check JUNK email folder, because sometimes email gets in JUNK folder if your ISP ips are listed in any dns black list as spam. Mark it safe so future mails comes into INBOX directly.
To edit various Texts appeared in the notifications, you can edit following files.
/var/www/radiusmanager/lang/English/
mailaccrenewfail_tpl.txt
mailnewpsw_tpl.txt
mailwarnexp_tpl.txt
reg_terms.txt
mailforgotpsw_tpl.txt
mailselfreg_tpl.txt
mailwarntraff_tpl.txt
strings.txt
mailaccrenewed_tpl.txt
mailiasreg_tpl.txt
mailsrvchg_tpl.txt
mailwelcomeuser_tpl.txt
texts.txt
/var/www/radiusmanager/
userlogin_tpl.htm
-

.
Regard’s
naveed ahmad

Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT → , ,
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment

 
".