我正在使用下面的代码,但它不工作,没有错误的到来,但电子邮件没有移动到推荐的文件夹。
<cfimap action="MoveMail" Recurse="true" newfolder="MainFolder/SubFolder" messagenumber="1" stoponerror="true" connection="connection">
这个操作不允许在一个封闭的文件夹上进行
的错误处理。cfimap
有时是非常模糊的。根据我的经验,当我遇到类似问题时,解决方法是使用 folder
属性,让标签现在需要从哪个文件夹移动邮件。
<cfimap
action="MoveMail"
Recurse="true"
folder="SourceFolder"
newfolder="MainFolder/SubFolder"
messagenumber="1"
stoponerror="true"
connection="connection"
>