Looks like an overkill to me. Why setup an SMTP server for this! Are there no other options?
On Fri, Apr 12, 2013 at 12:00 PM, Sergiy Khohlov <[email protected]> wrote: > setup SMTP. and set your django server as trusted smtp client > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Fri, Apr 12, 2013 at 9:05 AM, Venkatraman S <[email protected]> wrote: > >> Well, my Q what should i do so that i get 'delieverd' emails from both >> django apps and also *nix processes. >> >> >> On Fri, Apr 12, 2013 at 11:11 AM, Sergiy Khohlov <[email protected]>wrote: >> >>> this is expected behavior. >>> SMTP server should blocks attempt to send email from nonauth client. >>> In other case it is open relay. >>> >>> Many thanks, >>> >>> Serge >>> >>> >>> +380 636150445 >>> skype: skhohlov >>> >>> >>> On Thu, Apr 11, 2013 at 9:37 PM, Venkatraman S <[email protected]>wrote: >>> >>>> >>>> Am sure many in this mailing list are running websites that send emails >>>> to customers from their django applications. And also emails from the >>>> operating system(like logwatch etc). I was wondering how you do you >>>> achieve both? >>>> >>>> For example, when i use a gmail id, i see that i am able to send an >>>> email from django directly, without setting up anything(no postfix etc). >>>> The following works, but the same doesn't if i try with a non-gmail id. I >>>> guess it has to do with my domain provider not allowing certain ports and i >>>> fear breaking the ToS. >>>> >>>> In settings.py: >>>> EMAIL_USE_TLS = True >>>> EMAIL_HOST = 'smtp.gmail.in' >>>> EMAIL_HOST_USER = '[email protected]' >>>> EMAIL_HOST_PASSWORD = 'pwd' >>>> EMAIL_PORT = 587 >>>> >>>> And from the shell.. >>>> from django.core.mail import EmailMessage >>>> email = EmailMessage('Hello', 'World', to=['[email protected]']) >>>> email.send() >>>> >>>> I do not want to take the hassles of setting up an email server for >>>> sure. I am just looking for a simple and maintainable way that confirms >>>> the deliverability of the email :) >>>> >>>> Venkat >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/django-users?hl=en. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/django-users?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

