What assembly to reference "<SmtpSettingsPart>"?

Topics: Troubleshooting
Nov 21, 2012 at 2:40 PM
Edited Nov 21, 2012 at 2:41 PM

Looking at some sample code I've come across this:

var smtpSettings = orchardServices.WorkContext.CurrentSite.

the "<SmtpSettingsPart>" is throwing an error because I don't know what assembly to reference.

Any thoughts?

Nov 21, 2012 at 2:52 PM

Sorry, I tried

using Orchard.EMail;

and then realized I didn't reference it in my module project. It's fine now.

Originally I was trying Orchard.Services or Orchard.Settings (and even Orchard.ContentMangement).