Each url page in the app can only be access if the previous page data required are filled in already and click next/complete to progress to the next page.
- Create an Azure app
- App registration
- goto app registrations
- open application you just created
- Goto Authentication
- Click add URI and input your server uri as https://IP_Address:443/mailserver/authorized
- Hit save
- Goto mailserver/utilities_dir/outlook_config.py file
- Specify the protocol used "http/https"
- Specify the domain/IP address in HOST_IP (the server ip address)
- Specify the port (443 for https)
- Goto mailserver/utilities_dir/outlook_utils.py file
- Find get_webhook_path function uncomment the commected return and delete the static return
- Goto Sites 3. Domain: graph.microsoft.com 4. Name: Microsoft
- Go back to Admin and Social Applications 3. Create Add Account > Select Provider as "Microsoft Graph" 4. Name it "Outlook Mail" [make sure to copy and paste without "] 5. Copy and paste Client Id and Client secrete from Azure portal 6. From sites select graph.microsoft.com
- If you don't see any item in a page, that's because no previous page has been moved to the current page. You need to go to the previous page, fill in required data and click the next stage button(s) in green colour at the top.
- Mailserver
- If you are not receiving new leads from email, try revoking access in /mailserver page, restart server and try login again.
- If you are getting incorrect lead information, check django code, mailserver/utilities_dir/scrapper.py
Python 3.7.4