Skip to content

Commit

Permalink
adding from input to distributions method
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavransky committed Oct 11, 2024
1 parent e5fdc37 commit 086d6bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cornellGrading/cornellQualtrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ def createSingleContactDistribution(
subject,
cmsg="",
replyTo="[email protected]",
fromName="A Survey Robot",
):
"""Create a survey distribution for the given mailing list
Expand All @@ -535,6 +536,8 @@ def createSingleContactDistribution(
Custom message to add to standard email
replyTo (str):
Reply-to address
fromName (str):
From string
Returns:
str:
Expand Down Expand Up @@ -565,7 +568,7 @@ def createSingleContactDistribution(
"header": {
"fromEmail": "[email protected]",
"replyToEmail": replyTo,
"fromName": "A Survey Robot",
"fromName": fromName,
"subject": subject,
},
"surveyLink": {"surveyId": surveyId, "type": "Individual"},
Expand Down

0 comments on commit 086d6bb

Please sign in to comment.