Exemplo n.º 1
0
 def send_email(self):
     email = self.cleaned_data['email']
     title = self.cleaned_data['title']
     body = self.cleaned_data['body']
     util.send_mail(title, body, [email])
     FeaturedEmail.objects.create(channel=self.channel,
                                  title=title,
                                  body=body,
                                  email=email,
                                  sender=self.sender)
Exemplo n.º 2
0
 def send_email(self):
     email = self.cleaned_data['email']
     title = self.cleaned_data['title']
     body = self.cleaned_data['body']
     util.send_mail(title, body, [email])
     FeaturedEmail.objects.create(
         channel = self.channel,
         title = title,
         body = body,
         email = email,
         sender = self.sender)
Exemplo n.º 3
0
 def send_email(self, recipients, email_from=None, break_lines=False):
     util.send_mail(self.title, self.body, recipients, email_from,
              break_lines)
Exemplo n.º 4
0
 def send_email(self, recipients, email_from=None, break_lines=False):
     util.send_mail(self.title, self.body, recipients, email_from,
                    break_lines)