How to use the mailchecker.options.MessageOptions function in mailchecker

To help you get started, we’ve selected a few mailchecker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gbozee / django-rest-admin / mailchecker / options.py View on Github external
def _bind(self):
        super(MessageOptions, self)._bind()

        from .models import Thread, Message
        self.thread = ForeignKey(Thread)
        self.thread.contribute_to_class(Thread, 'thread')
        self.concrete_model = Message
        self._gmail_other_fields['thread'] = self.thread

mailchecker

Cross-language email validation. Backed by a database of thousands throwable email providers.

MIT
Latest version published 5 days ago

Package Health Score

87 / 100
Full package analysis

Similar packages