Skip to content

Commit

Permalink
Remove smtpSender variable from site.conf.dist since it is never used.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlglin committed Jul 15, 2024
1 parent e2fda55 commit 9dacab5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions conf/site.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -242,17 +242,9 @@ $webwork_courses_dir = "/opt/webwork/courses"; # a typical place to put course d
# otherwise type the name of your School's outgoing email server.
$mail{smtpServer} = ''; # e.g. 'mail.yourschool.edu' or 'localhost'

# When connecting to the above server, WeBWorK will send this address in the
# MAIL FROM command. This has nothing to do with the "From" address on the mail
# message. It can really be anything, but some mail servers require it contain
# a valid mail domain, or at least be well-formed.
$mail{smtpSender} = ''; # e.g. '[email protected]'
# Be sure to use single quotes for the address or the @ sign will be interpreted as an array.

$mail{set_return_path} = ''; #sets the return_path to the From: field (sender's email address)
# The return path is used to send error messages about bounced emails
# "noreply\@$mail{smtpServer}" discards error messages,
# using $mail{smtpSender} would deliver error messages to that address.
# The default setting should be adjusted for local domain
# Leaving the return path blank triggers the default which results in Return-Path being set to the email of the sender.

Expand All @@ -263,7 +255,6 @@ $mail{set_return_path} = ''; #sets the return_path to the From: field (sender's

$mail{smtpTimeout} = 30;


# TLS is a method for providing secure connections to the smtp server.
# https://en.wikipedia.org/wiki/Transport_Layer_Security
# Allowed values: 'starttls', 'ssl', 'maybestarttls', 0
Expand Down

0 comments on commit 9dacab5

Please sign in to comment.