Did I find the right examples for you? yes no

All Samples(13)  |  Call(4)  |  Derive(0)  |  Import(9)

src/t/e/tempmail-HEAD/smtpd.py   tempmail(Download)
from models import connect
from models import Domain
from models import Mail
from models import User
from __init__ import get_or_create_domain
		user = get_or_create_user(self.user.dest.local, domain)
		Mail(
			user = user,
			ts = datetime.datetime.now(),
			envelopeHeloHost = self.user.helo[0],

src/p/y/PyLocalSmpt-0.2.1/pylocalsmtp/smtp.py   PyLocalSmpt(Download)
from datetime import datetime
from smtpd import SMTPServer
from .models import Mail
 
 
    def process_message(self, peer, mailfrom, rcpttos, data):
        headers, subject, body = split_data(data)
        mail = Mail(
            mail_from=mailfrom,
            mail_to=";".join(rcpttos),

src/p/y/pylocalsmtp-1.0.0/pylocalsmtp/smtp.py   pylocalsmtp(Download)
from email.Header import decode_header
from email import message_from_string
from .models import Mail
 
 
    def process_message(self, peer, mailfrom, rcpttos, data):
        headers, subject, body = get_message_from_string(data)
        mail = Mail(
            mail_from=mailfrom,
            mail_to=";".join(rcpttos),

src/m/i/mils-secure-HEAD/app/api.py   mils-secure(Download)
import logging
import models
from models import PHONE_TYPES, Article, User, Person, TrainingProgram, TrainingProgramRegistrant, Book, TrainingProgramFee, TrainingProgramBrochure, ARTICLE_SECTION_TYPES, Mail, MailReceiver
from datetime import datetime
from django.utils import simplejson as json
        body = self.request.get('body')
 
        mail = Mail()
        mail.is_active = False
        mail.subject = subject

src/d/j/django-mailrobot-0.3.2/src/mailrobot/admin.py   django-mailrobot(Download)
from django.contrib import admin                                                                                                                  
from django.utils.translation import ugettext_lazy
 
from .models import Address, Signature, Mail, MailBody
 

src/t/e/tempmail-HEAD/app.py   tempmail(Download)
from models import connect
from models import Domain
from models import Mail
from models import User
import settings

src/l/a/landing_campusparty-HEAD/landing/tasks.py   landing_campusparty(Download)
import json
 
from celery import task
from .models import UserRegistered, Mail
 

src/p/y/PyLocalSmpt-0.2.1/pylocalsmtp/handlers.py   PyLocalSmpt(Download)
from sockjs.tornado import SockJSRouter, SockJSConnection
from multiprocessing import Queue
from .models import Mail
 
 

src/p/y/pylocalsmtp-1.0.0/pylocalsmtp/handlers.py   pylocalsmtp(Download)
from sockjs.tornado import SockJSRouter, SockJSConnection
from multiprocessing import Queue
from .models import Mail