简体   繁体   English

在Browsercms中设置电子邮件Portlet

[英]Setting up Email Portlet in Browsercms

How to use Email Portlet provided by Brosercms to setup a mailer ? 如何使用Brosercms提供的Email Portlet设置邮件程序? I am getting the following error if i directly use the email-portlet(with the pre-defined template) in one of my website pages: ERROR: undefined method `cms_handler_path' for #&ltCms::ViewContext:0xb532040&gt 如果我直接在我的网站页面之一中使用email-portlet(带有预定义的模板),则会出现以下错误:错误:#&ltCms :: ViewContext:0xb532040&gt的未定义方法`cms_handler_path'

BrowserCMS has been updated to Rails 3 however, this cms_handler_path routes is not updated in the email_page_porlets. BrowserCMS已更新至Rails 3,但是,在email_page_porlets中未更新此cms_handler_path路由。 Change it to cms_path, then it should be working fine. 将其更改为cms_path,然后应该可以正常工作。 Basically it needs to be able to call the EmailPagePortlet's deliver action. 基本上,它需要能够调用EmailPagePortlet的传递动作。

Remember to set up your action_mailer configuration 记住设置您的action_mailer配置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM