-
Notifications
You must be signed in to change notification settings - Fork 37
Set up Email notification
WiKiHome | Installation Guide | Get Started | Developer Resources | BEMOSS™ Team
In order to enable Email and SMS notifications, an valid Gmail address is needed.
The user can add email credentials by going to "settings.py" under the BEMOSS™ main folder, then navigate to the NOTIFICATION section under the settings.py file, and then change the values described below:
- fromaddr: replace {Your Email} with your valid Gmail address
- username: replace {Your Email} with your valid Gmail address
- password: replace {Your Password} with your valid email account password
Email settings for notifications is shown below.
NOTE1: In order to make the SMS working, a valid Gmail address needs to be provided.
NOTE2: In the case that you don't receive an email or sms notification from the email that you use as the BEMOSS™ sender (the one that you provide previously), please perform the following steps to enable external app (BEMOSS™) to access your Gmail account.
Step1: Enable 2-factor authentication for your Gmail account
Step1.1: go to https://myaccount.google.com/u/2/security. Now if your 2-Step Verification is 'Off', click at the icon
Step1.2: click Start setup
Step1.3: enter your phone number
Step1.4: enter verification code you received from sms
Step1.5: You can check 'trust this computer' so that if you lose your phone, you might be able to access your account from a trusted computer without needing a code.
Step1.6: Confirm 2-step verification
Step2: Create your app password and use instead of your Gmail password in settings.py file
Step2.1: click manage application-specific passwords
Step2.2: select app as 'Mail' and device as 'others'
Step2.3: generate app password that allow 2-step verification users to access their Gmail account given app name as 'BEMOSS'
Step2.4: save your app password and enter then navigate to the NOTIFICATION section under the settings.py file, and then change the value of your password to be the value of app password obtained from this step:
- password: replace 'Your APP Password' with your valid email account password