Hi our,
I'm trying to use a Mandrill subaccount when sending emails from our Umbraco Cloud site. The main account is set up correctly in web.config like this:
To use the subaccount, I need to add a custom header to all messages sent from the site. After some seaching around, I can see that it has to be added to the MailMessage like this message.Headers.Add("X-MC-Subaccount", "{SUBACCOUNT-NAME}");.
How can I achieve this, when I don't have access to the code where the mail is sent? I presume it's hidden in the Umbraco.Forms dlls.
Custom headers in Umbraco Forms
Hi our, I'm trying to use a Mandrill subaccount when sending emails from our Umbraco Cloud site. The main account is set up correctly in web.config like this:
To use the subaccount, I need to add a custom header to all messages sent from the site. After some seaching around, I can see that it has to be added to the MailMessage like this
message.Headers.Add("X-MC-Subaccount", "{SUBACCOUNT-NAME}");
.How can I achieve this, when I don't have access to the code where the mail is sent? I presume it's hidden in the Umbraco.Forms dlls.
Thanks!
is working on a reply...