maxramirez84 / redcap-email-notifications-module

REDCap External Module that allows project administrators to schedule email notifications (every minute, hourly, daily, weekly or monthly) to one or more recipients summarizing record creation through REDCap API, i.e. REDCap Mobile App.
https://www.project-redcap.org/
MIT License
0 stars 0 forks source link

REDCap::email does not send emails #3

Open maxramirez84 opened 5 years ago

maxramirez84 commented 5 years ago

Describe the bug REDCap::email does not send email when from email address contains spaces either at the beginning or the end.

To Reproduce Steps to reproduce the behavior:

  1. Enable the EM.
  2. Configure the system setting Sender email address with a valid email address but with some space either at the beginning or the end. E.g. " foo@foo.org".
  3. Enable the EM in any project and configure notifications for some user.
  4. Send one or more records form REDCap Mobile App

Expected behavior REDCap should send the email although the sender email address contains spaces either at the beginning or the end. This setting must be trimmed.

Screenshots NA

Desktop (please complete the following information):

Smartphone (please complete the following information): NA

Additional context NA