Re: POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Srdjan Popovic
Thanks for your reply. I have just tried to send one message through Python script and the other from Outlook to my GMX account and here are the headers: FROM PYTHON (CONSIDERED SPAM): Return-Path: <[EMAIL PROTECTED]> X-Flags: Delivered-To: GMX delivery to [EMAIL PROTECTED] Received:

Re: POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Kenneth Gonsalves
On Sunday 16 November 2008 06:26:18 pm Srdjan Popovic wrote: > def send_mail(subject='', text='', sender='', to=''): >     M = poplib.POP3(settings.EMAIL_HOST) >     M.user(settings.EMAIL_HOST_USER) >     M.pass_(settings.EMAIL_HOST_PASSWORD) >     headers = "From: %s\r\nTo: %s\r\nSubject:

POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Srdjan Popovic
I have recently started a new Django website, www.darela.com, and I have some problems with sending automatic mails. This is a community website, where consultants, contractors and other specialists can present themselves, publish their profiles and describe their skills and experience, publish