Our site triggers some automatic emails, primarily from within server-side validation scripts. The site is configured to have a site address of 'ehr-do-not-reply', which is a non-existent email, since we dont want people to reply to these automatic emails, since no one is reading them.
I just found out that LABKEY.Message.sendMessage will not let me use this email as the sender, probably b/c it's not associated with a valid user. Any way around this, besides making a bogus labkey account to go with the bogus email?
FWIW, it'd be quite convenient if an API existed to either:
1. identify the site email address
2. be able to specify 'send using the site's email address' when using LABKEY.Message.sendMessage
Thanks for any suggestions. |