From a6da3ce5529325b390e0f5437eeac4d41f2e8c2e Mon Sep 17 00:00:00 2001 From: Aaron Elkiss Date: Mon, 3 Oct 2022 15:20:49 -0400 Subject: [PATCH] DEV-439: notification uses new email --- bin/notify.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/notify.rb b/bin/notify.rb index ac0a21f..a081352 100755 --- a/bin/notify.rb +++ b/bin/notify.rb @@ -12,7 +12,7 @@ def email(set_name,recipient,data) (data.count < 1) and return message = < +From: HathiTrust To: #{recipient} Subject: Delete notifications for #{set_name} dataset @@ -23,7 +23,7 @@ def email(set_name,recipient,data) Please review the data you have synced from HathiTrust to check whether you have the volumes listed below. If so, delete all copies you retain of these volumes in accordance with our terms of use. Alternatively, you may delete your copy of the dataset and re-sync to the updated dataset. -If you no longer possess HathiTrust datasets, or if you have other questions regarding datasets, then please email feedback@issues.hathitrust.org. +If you no longer possess HathiTrust datasets, or if you have other questions regarding datasets, then please email support@hathitrust.org. Thank you, @@ -38,7 +38,7 @@ def email(set_name,recipient,data) puts "sending message with #{data.count} deletes to #{recipient}" Net::SMTP.start(ENV['SMTP_HOST'] || 'localhost') do |smtp| - smtp.send_message message, 'feedback@issues.hathitrust.org', recipient + smtp.send_message message, 'support@hathitrust.org', recipient end end