diff options
author | Maximilian Gass <mxey@ghosthacking.net> | 2009-07-24 15:01:50 +0200 |
---|---|---|
committer | Maximilian Gass <mxey@ghosthacking.net> | 2009-07-24 15:01:50 +0200 |
commit | a328abe745ae99435bdc400938eaa62414d601df (patch) | |
tree | c878a3f940cd771ba05658fb1d32929ddc60bab0 | |
parent | 743cb0f08b5dae7dce197a075d550f857a1c478c (diff) |
Fixed typo (stmp -> smtp)
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index 8318fdd..8d6dc50 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -200,7 +200,7 @@ if cname and ctext and ctitle: 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) smtp = smtplib.SMTP(smtp_host) - if smtp_user != '' and stmp_pass != '': + if smtp_user != '' and smtp_pass != '': smtp.login(smtp_user, smtp_pass) smtp.sendmail(blog_title, mail_to, msg) smtp.quit() |