个人工具
119.28.94.63
该IP地址的讨论
登录
查看“Zope3宝典/事件和订阅”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“Zope3宝典/事件和订阅”的源代码
来自Ubuntu中文
←
Zope3宝典/事件和订阅
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
=== 19.7 Step VII: Using the new Mail Subscription(19.7 步骤 VII: 使用新的邮件订阅 ) === First of all, we have to restart Zope and make sure in boots up properly. Then you can go to the management interface and view a particular message. You might notice now that you have a new tab called Subscriptions, so click on it.<br>首先,我们必须重启 Zope 并确保得以正确启动,然后你可以进入管理界面,会看到一个特定的消息。你可能注意到现在已出现一个名为“Subscriptions”的新标签,点击它。 In the Subscriptions view, you will see a text area in which you can enter subscription E-mail addresses, which will receive E-mails when the message or any children are changed. When adding a test E-mail address, make sure this E-mail address exists and is your own, so you can verify its arrival. Click on the Add submit button to add the E-mail to the subscriber list. Once the screen returns, you will see this E-mail appear under “Current Subscriptions” with a checkbox before it, so you can delete it later, if you wish.<br>在Subscriptions视图里,你会看到一个文本框供你输入订阅的 E-mail 地址,当该消息或其回复发生改动时,该邮件地址就能收到E-mail。在添加一个测试用的 E-mail 地址时,确保该 E-mail 地址存在并且是你自己的,这样你才能确认收到了邮件。点击 Add 提交按钮把E-mail地址添加到订户列表。当屏幕返回时,你就会看到该E-mail地址出现在 “Current Subscriptions”下,同时在它前面还有一个checkbox,以便日后需要时你可以将其删除。 Next, switch to the Edit view and modify the `MessageBody` a bit and submit the change. You should notice that the screen returns almost immediately, but that your mail has not necessarily arrived yet. This is thanks to the Queued Mail Delivery Utility, which sends the mails on a separate thread. However, depending on the speed of your E-mail server, a few moments later you should receive an appropriate E-mail.<br>然后,切换到Edit(编辑)视图对消息内容稍加修改,然后提交这一改动。你会注意到屏幕几乎立即返回,但邮件未必立即到达。这要归功于 队列邮件发送工具(Queued Mail Delivery Utility),它会以一个独立的线程来发送邮件。不过,视你的邮件服务器的速度而异,过一会儿后你就应该收到相应的E-mail。
返回至
Zope3宝典/事件和订阅
。