| 1 | *** /django/core/mail.py 2008-07-20 13:01:36.000000000 -0700
|
|---|
| 2 | --- /django/core/mail-fixed.py 2008-07-25 18:16:26.000000000 -0700
|
|---|
| 3 | ***************
|
|---|
| 4 | *** 174,180 ****
|
|---|
| 5 |
|
|---|
| 6 | def _send(self, email_message):
|
|---|
| 7 | """A helper method that does the actual sending."""
|
|---|
| 8 | ! if not email_message.to:
|
|---|
| 9 | return False
|
|---|
| 10 | try:
|
|---|
| 11 | self.connection.sendmail(email_message.from_email,
|
|---|
| 12 | --- 174,180 ----
|
|---|
| 13 |
|
|---|
| 14 | def _send(self, email_message):
|
|---|
| 15 | """A helper method that does the actual sending."""
|
|---|
| 16 | ! if not email_message.recipients():
|
|---|
| 17 | return False
|
|---|
| 18 | try:
|
|---|
| 19 | self.connection.sendmail(email_message.from_email,
|
|---|