microsoft / azure-redcap-paas

Automated deployment of REDCap with Azure Blob storage as the storage back-end
MIT License
28 stars 55 forks source link

Problems with email #2

Closed mgabetta closed 9 months ago

mgabetta commented 5 years ago

Hi! We have deployed RedCAP on Azure resources with the ARM Template. Everything seems to work except the emails. REDCap, in the configuration check page, says that it is able to send emails but no email are sent. The SMTP configurations are correct (tested with a mail client). Any idea on how we could investigate on the cause of the problem?

taylorr4 commented 5 years ago

@mgabetta the best place for help with this is to post a question on the REDCap Community site: https://community.projectredcap.org . I'm sure you or a colleague have access there. I personally don't know much about the email system that is the default for this package. (Perhaps you have to set a "Universal From Email Address" on the General Configuration page in the REDCap Control Center.) You might consider asking @bretthackermsft (the creator of this stack) for advise on why it is not sending out email.

bretthackermsft commented 5 years ago

The setup routine (https://github.com/Microsoft/azure-redcap-paas/blob/master/deploy.ps1#L168) updates the sendmail.ini file at that line. You can use the Web App Kudu console (https://github.com/projectkudu/kudu/wiki/Accessing-the-kudu-service) to look in that folder and troubleshoot what's going on and review the logs.

SvenAelterman commented 9 months ago

I believe this issue was addressed with a recent PR. We discovered a typo in the script.