- modified contact.pl to handle Reinhard's requests

svn path=/trunk/; revision=17796
This commit is contained in:
nicoulas 2010-10-20 08:56:30 +00:00
부모 a1351b500a
커밋 c56d9b94bf
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -37,9 +37,10 @@ my $date = strftime "%Y-%m-%d", localtime;
my $time = strftime "%s", localtime;
open(MAIL, "|/usr/lib/sendmail -t -f ato\@fsfe.org");
print MAIL "From: web\@fsfeurope.org\n";
print MAIL "Reply-To: " . $query->param("email") . "\n";
print MAIL "From: office\@fsfeurope.org\n";
print MAIL "To: office\@fsfeurope.org\n";
print MAIL "Cc: ato\@fsfe.org, mueller\@fsfeurope.org\n";
print MAIL "Cc: ato\@fsfe.org\n";
print MAIL "Subject: New message from website from " . $query->param("name") . "\n";
print MAIL "Content-Type: text/plain\n\n";
print MAIL "We have received a new message from our website contact form.\n\n";