You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Using Kentico’s Email Templates in Custom Code”.
About Me
I'm a Software Engineer at Worcester Envelope in Auburn, MA. Check out the About page to learn more about me.
Tags
.NET Framework AES ASP.NET ASP.NET MVC ASP.NET Web API AspDotNetStoreFront blogging C# Code Code Camp Cryptography Decryption Elmah Encryption Entity Framework Exceptions Extension Method HTML IIS IIS6 javascript jQuery JSON Kentico API Programming Kentico BizForms Kentico CMS Kentico Event Log Kentico Module Development Learning Python 3 Microsoft PHP Productivity Quick Tip REST Shortcuts SQL SQLite Development Symmetric Encryption Time Saver Travian Add On Project URL Routing Using PyGame Visual Studio web-service wordpress
[...] This post was mentioned on Twitter by Jeroen Furst, John Bubriski. John Bubriski said: New Blog Post: Using Kentico’s Email Templates in Custom Code http://bit.ly/92Rpx2 #Kentico #EmailTemplates [...]
Very nice. I have to do something like this in an upcoming project, and I wasn’t quite sure how I was going to pull it off. Thanks for posting!
Thanks for the feedback Brian! Glad this helped someone! Let me know if there are other topics you would like me to explore.
HI ,
I tried this code but I am getting this error message:
CS0103: The name ‘EmailTemplateProvider’ does not exist in the current context
Source File: c:\inetpub\wwwroot\Kentico\ImportProducts1.aspx.cs Line: 49
Any Ideas, what I am missing?
Do I need to mention anything in the global.ascx.cs file?
Thanks
Gitesh Shah
Did you add a using directive for “CMS.EmailEngine”?