warrenbuckley / CWS-Start

This is the new shiny MVC version of Umbraco CWS starter site package
MIT License
23 stars 13 forks source link

Move Email Settings onto Content Node #1

Closed warrenbuckley closed 11 years ago

warrenbuckley commented 11 years ago

Rather than the email settings be hard coded in the email helper class or even be in the smtp section of the web.config allow user to define directly on homenode as some kind of global setting for all emails perhaps?

justinspradlin commented 11 years ago

I think storing them as a new tab on the home page document type would be a good idea. That way if you ran multiple home page nodes with different domain names, you could have different settings for each "site". However, the helper would need to know which "site" it was running on to determine the smtp settings. That way the contact form from site1.com/contact would use the site1.com specific settings while site2.com/contact would use the site2.com node's settings.

warrenbuckley commented 11 years ago

This has been resolved with latest commit.

@justinspradlin this would be something you would have to extend yourself at this current time when you have the source code downloaded so you can tweak it to your own needs.

justinspradlin commented 11 years ago

That sounds great to me! Thanks!

On Tue, Aug 6, 2013 at 11:07 AM, Warren Buckley notifications@github.comwrote:

This has been resolved with latest commit.

@justinspradlin https://github.com/justinspradlin this would be something you would have to extend yourself at this current time when you have the source code downloaded so you can tweak it to your own needs.

— Reply to this email directly or view it on GitHubhttps://github.com/warrenbuckley/CWS-Start/issues/1#issuecomment-22190561 .