Update EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor's SmtpClient to retreive configuration from appSettings

Vote:
 

Please update the SmtpClient utilized by EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor to check appSettings for its configuration. Since the system.net/mailSettings/smtp/network web.config section cannot be encrypted in the DXC environment, it would be beneficial to be able to store these values (i.e. host, enableSsl, port, userName, password, etc.) in Azure's Application settings where they are securely stored.

#203622
Apr 29, 2019 23:53
Vote:
 

Hi Kasey


You could create a Custom Email Actor which inherits from SendEmailAfterSubmissionActor and then Override the Email Config 

#204341
May 28, 2019 12:48
Kasey Reuter - Sep 17, 2019 16:41
Thank you for the suggestion. Unfortunately, that will not work in this case. The SmtpClient being used by the SendEmailAfterSubmissionActor is a private member variable with no corresponding property or methods so is not accessible/configurable from an inherited class.
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.