I have a scheduled task that runs every 5 minutes via the OpenBD
scheduler. The task itself uses the cfmail tag to grab messages out of an
email box.
This is a simplified snippet of the code that is being executed:
<cfimap action="open" service="imap" connection="mailConnection"
server="#application.systemConfig.emailServerIpAddress#"
username="#application.systemConfig.emailServerUserName#"
password="#application.systemConfig.emailServerPassword#">
<cfimap action="listmail" connection="mailConnection" name="mail"
folder="Inbox">
<cfloop query="mail">
<cfimap action="readmail" connection="mailConnection" folder="Inbox"
messageid="#mail.id#" name="message"
attachmentsuri="#application.systemConfig.attachmentRelativePath#">
<!--- do a bunch of stuff with the message --->
</cfloop>
Now, like I said, this runs every 5 minutes. However, every now and then
(anywhere between twice per day and once per week) the cfmail "readmail"
action throws the following error, "Missing the SERVER attribute."
How/why would this happen? Why does cfimap only sometimes want a server
attributes? And if it wants a server attribute instead of a connection
attribute, why isn't the "listmail" action throwing the error?
This has been going on for years in both versions OpenBD 2 and 3. It's not
a critical issue by any means, but it really makes my brain hurt trying to
figure this one out.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.