OK. Any idea if there's a good django coding example somewhere showing basic settings for sending email, how to setup the smtp connection so I can use it to send multiple messages if desired, without having to get a new connection for each message, etc.?
On Jan 19, 4:09 pm, Shawn Milochik <sh...@milochik.com> wrote: > Whatever method you decide to use to gather the e-mail addresses is up > to you, and depends on your needs. > > The send_mail function accepts a list of recipients, and it doesn't > really matter how you get them. > > Two notes on sending e-mail, though: > > 1. Ensure that you're sending the e-mail multiple times (once to each > person) to ensure privacy. Unless, for some reason, it's fine that all > recipients get the e-mail addresses of the others. > > 2. SMTP communications are expensive, so you may want to go deeper than > the send_mail function so you can create an SMTP connection and send > multiple messages then include it. Otherwise you'll create a new SMTP > connection for each message, which will take longer. Unless that's what > you want. > > Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.