#!/usr/bin/env python
#encoding=utf-8
from django.core.mail import send_mail
from django.conf import settings
settings.configure()
settings.EMAIL_HOST="mail.360buy.com"
settings.EMAIL_HOST_USER="maolingzhi@360buy.com"
settings.EMAIL_HOST_PASSWORD="xxxxx"
settings.EMAIL_USE_TLS=False
print "="*10
print settings.EMAIL_HOST
print settings.EMAIL_HOST_USER
print settings.EMAIL_PORT
print settings.EMAIL_USE_TLS
print settings.EMAIL_HOST_PASSWORD
print settings.EMAIL_SUBJECT_PREFIX
print "="*10
send_mail('Subject here', 'Here is the message.', 'maolingzhi@360buy.com',['maolingzhi@360buy.com'], fail_silently=False)