Keywords: Mode: All keywords (AND) |
Wed Feb 26, 2014 14:14
|
bartik: Thanks. I did search for the answer too but alas couldn't find any so I have changed my strategy. I use fetchmail to download the mails, a custom shell script to generate urls to call playsms with wget and send the messages out.
|
Mon Feb 24, 2014 16:04
|
bartik: Sorry to intrude like this. I'm working with imap. The script ended with the error "Undefined subroutine &Authen::NTLM::ntlm called at ...IMAPCLient.pm line 3181. The module Authen::NTLM is installed. Neverthless adding the authenticate='PLAIN', in the MAIL::Box::IMAP4->new fixes it for me (and breaks for evereyone else I suppose) but adding the possibility to set the authentication through the cfg would be nice (AUTO can be the default ?)
What puzzles me more is the error I'm getting after downloading the message from the mail box (well not really it is a "delayed" message which apparently means that it is fetched at the time when it is accessed in the code ?) "Can't call method "string" on an undefined value at ...Delayed.pm line 89. Which really doesn't tell me anything :-(
I can see the g_msg object dumped to string and it seems ok to me. Any idea/hint where am I making a mistake ?
(I'm running on raspberry pi/raspbian)
|