예제 #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)
예제 #2
0
파일: forms.py 프로젝트: kmshi/miroguide
 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)
예제 #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)
예제 #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)