Skip to content
Snippets Groups Projects
Commit c40b5a26 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make notification service use utf8 instead

parent 4ce2d412
No related branches found
No related tags found
3 merge requests!1059Catchup 2.7 with main,!1058Draft: Rebase 2.7 on main,!1013make notification service use utf8 instead
Pipeline #6193 passed
Pipeline: workspaces

#6195

    Pipeline: workspaces

    #6194

      ......@@ -81,8 +81,8 @@ class NotificationService(NotificationServiceIF):
      if not receiver_email:
      return "No PI email found."
      for contact in receiver_email:
      r = server.sendmail(sender_email, contact, file.content)
      r = server.sendmail(sender_email, contact, file.content.encode("utf8"))
      else:
      r = server.sendmail(sender_email, receiver_email, file.content)
      r = server.sendmail(sender_email, receiver_email, file.content.encode("utf8"))
      return r
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment