That's what I thought I did...
Here's some more, two in a row:
2011-08-24T18:26:27+00:00 INFO (6): 5 message(s) in mailbox
2011-08-24T18:26:27+00:00 DEBUG (7): Value for "deki/path" is "/Resources/Email"
2011-08-24T18:26:27+00:00 INFO (6): Processing message #1...
2011-08-24T18:26:28+00:00 INFO (6): Saving message...
2011-08-24T18:26:28+00:00 DEBUG (7): Multipart message
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "savehtml" is "1"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "savehtml" is "1"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "prepend" is ""
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "append" is ""
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Saving HTML part of the message...
2011-08-24T18:26:28+00:00 ERR (3): Unable to attach HTML part:
2011-08-24T18:26:28+00:00 ERR (3):
2011-08-24T18:26:28+00:00 DEBUG (7): #0 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(874): DekiMailbox::postFile('message.html', 'text/html', '<div>I love eve...', '338')
#1 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(569): DekiMailbox::postMessage(Object(Zend_Mail_Message), '/Resources/Emai...')
#2 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(546): DekiMailbox::saveMessage(Object(Zend_Mail_Message), '/Resources/Emai...', 1)
#3 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(175): DekiMailbox::processMessages()
#4 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(133): DekiMailbox::processBox(Object(Zend_Config))
#5 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(51): DekiMailbox::run()
#6 {main}
2011-08-24T18:26:28+00:00 DEBUG (7): Setting page properties...
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 ERR (3):
2011-08-24T18:26:28+00:00 DEBUG (7): #0 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(884): DekiMailbox::setProperties(Object(Zend_Mail_Message), '338')
#1 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(569): DekiMailbox::postMessage(Object(Zend_Mail_Message), '/Resources/Emai...')
#2 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(546): DekiMailbox::saveMessage(Object(Zend_Mail_Message), '/Resources/Emai...', 1)
#3 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(175): DekiMailbox::processMessages()
#4 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(133): DekiMailbox::processBox(Object(Zend_Config))
#5 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(51): DekiMailbox::run()
#6 {main}
2011-08-24T18:26:28+00:00 INFO (6): Processing message #2...
2011-08-24T18:26:28+00:00 INFO (6): Saving message...
2011-08-24T18:26:28+00:00 DEBUG (7): Multipart message
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "savehtml" is "1"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "savehtml" is "1"
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "prepend" is ""
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "append" is ""
2011-08-24T18:26:28+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-24T18:26:28+00:00 DEBUG (7): Saving HTML part of the message...
2011-08-24T18:26:28+00:00 ERR (3): Unable to attach HTML part:
2011-08-24T18:26:28+00:00 ERR (3):
Yes. I just post part of it, because it handles multiple messages at this point.
#0 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(884): DekiMailbox::setProperties(Object(Zend_Mail_Message), '319')
#1 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(569): DekiMailbox::postMessage(Object(Zend_Mail_Message), '/Email/2011/08/...')
#2 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(546): DekiMailbox::saveMessage(Object(Zend_Mail_Message), '/Email/2011/08/...', 1)
#3 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(175): DekiMailbox::processMessages()
#4 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(133): DekiMailbox::processBox(Object(Zend_Config))
#5 /home/except_web/www/overig/forMindTouch/mindtouchmailbox/mindtouchmailbox.php(51): DekiMailbox::run()
#6 {main}
2011-08-22T14:15:12+00:00 INFO (6): Processing message #2...
2011-08-22T14:15:13+00:00 INFO (6): Saving message...
2011-08-22T14:15:13+00:00 DEBUG (7): Multipart message
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "savehtml" is "1"
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "savehtml" is "1"
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "prepend" is ""
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "append" is ""
2011-08-22T14:15:13+00:00 DEBUG (7): Value for "charset" is "UTF-8"
2011-08-22T14:15:13+00:00 DEBUG (7): Saving HTML part of the message...
2011-08-22T14:15:13+00:00 ERR (3): Unable to attach HTML part:
2011-08-22T14:15:13+00:00 ERR (3):
2011-08-22T14:15:13+00:00 DEBUG (7):
Hi Karena, again thanks for the quick help.
I have the option set as you indicate, but I do not see 'Removing message from mailbox' in the script's debug output, and the messages stay on the server.
Some additional observations:
- The system seems to save the messages in subfolders with numbers based on year, month and date. How can you change this? For instance, How can you mek it save in subfolders based on the subject, for instance?
- The system doesn't seem to remove messages when 'remove' is set in the config.xml. What could be the cause for this?
I installed Curl and all is well now!
For those with the same problem: All I needed to do is run "sudo apt-get install php5-curl" on the server.
Great system. I look forward to the possibility for the system to place the email's contents according to the message subject.
Thanks for the feedback Karena. The debug mode lets me see that the following error is occuring:
"PHP Fatal error: Call to undefined function curl_init() in /mindtouchmailbox/lib/MindTouch/Dream/Plug.php on line 311"
Any advice?
I've installed this as the instructions go, but it isn't working. When the script is called, it gives something like the following feedback:
2011-08-18T20:48:41+00:00 INFO (6): Initialization 2011-08-18T20:48:41+00:00 INFO (6): Importing messages from mail.xxx.nl (xxx@xxx.nl)
So, it's 'importing messages', apparently, but the messages are not posted to the Wiki. It's hard to troubleshoot from here. Does anyone have any suggestions?
Thanks for this! There's some typo's in the code write-up: 'chwon' instead of 'chown', and I think that slash in front of the '5' in the text is not supposed to be there.