diff --git a/blogthon.cgi b/blogthon.cgi index 8deb211..a063c8a 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -199,7 +199,7 @@ if cname and ctext and ctitle: content.close() # Send mail? if new_comment_mail: - msg = 'From: Blogthon\nSubject: New comment on ' + blog_title + '\n\nSomeone wrote a comment to this entry: ' + blog_url + '?p=' + re.sub(' ', '-', ctitle) + msg = 'From: Blogthon\nTo: ' + mail_to + '\nSubject: New comment on ' + blog_title + '\n\nSomeone wrote a comment to this entry: ' + blog_url + '?p=' + re.sub(' ', '-', ctitle) smtp = smtplib.SMTP(smtp_host) if smtp_user != '' and smtp_pass != '': smtp.login(smtp_user, smtp_pass)