From 5e883676f6ceb20ef9a4e6b083bb01279b402b8b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 2 Sep 2016 05:37:49 -0400 Subject: Fix incorrectly wired-in address. --- www/gps_report.cgi.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'www') diff --git a/www/gps_report.cgi.in b/www/gps_report.cgi.in index a4785cb0..14981cea 100644 --- a/www/gps_report.cgi.in +++ b/www/gps_report.cgi.in @@ -3,7 +3,6 @@ # @MASTER@ # # This is the CGI that processes the form return from GPS information form. -# We use Python 2.4 because ibiblio doesn't support a later version in CGI. # # The wackiness with output_sample_com happens because the user has to click # through twice - once to review and once to submit. Thus the content has @@ -99,7 +98,7 @@ if hasRequiredElements(form) and form.getvalue("action") == "Send Report": smtp = smtplib.SMTP("localhost") #smtp.set_debuglevel(1) try: - smtp.sendmail(servaddr, ["esr@thyrsus.com"], msg) + smtp.sendmail(servaddr, [to_address], msg) smtp.quit() print "

New device report accepted.

\n" print "

Your report on the %s %s was successfully recorded. Thanks for helping improve GPSD.\n" \ -- cgit v1.2.1