changeset 28:2bff4dcefdd3 draft

Small fix in email sending
author marga
date Tue, 21 Aug 2007 15:54:45 +0000
parents b94c3e9a5423
children 8c67dc888dbb
files bts_webui/amancay/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bts_webui/amancay/views.py
+++ b/bts_webui/amancay/views.py
@@ -124,7 +124,7 @@
 		# validate the email
 		if (user.is_authenticated()):
 			from django.core.mail import send_mail
-			send_mail(subject, comment, user.email, to_address)
+			send_mail(subject, comment, user.email, [to_address])
 			return "Your comment has been successfully sent"
 		else:
 			# TODO