文章目录

由于zinnia默认会给管理员发送评论的邮件,而settings里未设置发送邮件的smtp设置所以,会报13错,具体设置内容如下:

这些都是你要添加到您的settings.py里:

EMAIL_HOST =  'smtp.webfaction.com' 
EMAIL_HOST_USER =  '<mailbox>' 
EMAIL_HOST_PASSWORD =  '<password>' 
DEFAULT_FROM_EMAIL =  '<address>' 
SERVER_EMAIL =  '<address>'


解决思路来源地址(google是个好工具,特别还能翻译整页)

http://stackoverflow.com/questions/7912553/permission-denied-when-trying-to-send-verification-email

文章目录