def new_thread_mails(post, users_and_watches):
 post_url = add_utm(post.thread.get_absolute_url(), 'kbforums-thread')
 c = {'post': post.content, 'post_html': post.content_parsed, 'author': post.creator, 'host': Site.objects.get_current().domain, 'thread': post.thread.title, 'forum': post.thread.document.title, 'post_url': post_url}
 return emails_with_users_and_watches(subject=_lazy(u'{forum} - {thread}'), text_template='kbforums/email/new_thread.ltxt', html_template='kbforums/email/new_thread.html', context_vars=c, users_and_watches=users_and_watches)

def new_thread_mails ( post , users_and_watches ) : post_url = add_utm ( post . thread . get_absolute_url ( ) , 'kbforums-thread' ) c = { 'post' : post . content , 'post_html' : post . content_parsed , 'author' : post . creator , 'host' : Site . objects . get_current ( ) . domain , 'thread' : post . thread . title , 'forum' : post . thread . document . title , 'post_url' : post_url } return emails_with_users_and_watches ( subject = _lazy ( u'{forum} - {thread}' ) , text_template = 'kbforums/email/new_thread.ltxt' , html_template = 'kbforums/email/new_thread.html' , context_vars = c , users_and_watches = users_and_watches )
return an interable of emailmessages to send when a new thread is created .