martbock / outlook-postmaster-query Goto Github PK
View Code? Open in Web Editor NEWQuery the Outlook.com SNDS API to check if your SMTP servers are being blocked.
Query the Outlook.com SNDS API to check if your SMTP servers are being blocked.
I get the bellow error msg, any help is much appreciated
Traceback (most recent call last):
File "app.py", line 51, in
App().main()
File "app.py", line 37, in main
self.notify_via_email(recipient, blocked_result)
File "app.py", line 42, in notify_via_email
email = self.notifier.build_email(recipient, blocked_result)
File "/root/outlook-postmaster-query/email_notifier.py", line 35, in build_ema il
html = self._render_blocked_notification(self.BLOCKED_TEMPLATE['html'], reci pient['name'], blocked_result)
File "/root/outlook-postmaster-query/email_notifier.py", line 25, in _render_b locked_notification
delisting_url=self.config['outlook']['links']['delisting'],
File "/root/outlook-postmaster-query/venv/lib64/python3.6/site-packages/jinja2 /environment.py", line 1090, in render
self.environment.handle_exception()
File "/root/outlook-postmaster-query/venv/lib64/python3.6/site-packages/jinja2 /environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/root/outlook-postmaster-query/venv/lib64/python3.6/site-packages/jinja2 /_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "templates/blocked_notification.html", line 79, in top-level template cod e
The following{{ ' ' + ip_range_count if ip_range_count > 1 }} IP range{{ 's' if ip_range_count > 1 }} that
TypeError: must be str, not int
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.