Date: Sat, 28 Jan 2012 21:02:49 +0000 From: Paul Macdonald <paul@ifdnrg.com> To: freebsd-questions@freebsd.org Cc: Da Rock <freebsd-questions@herveybayaustralia.com.au> Subject: Re: OT: perl mail problems Message-ID: <4F246279.1020406@ifdnrg.com> In-Reply-To: <4F23FAA1.5020700@herveybayaustralia.com.au> References: <4F23FAA1.5020700@herveybayaustralia.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28/01/2012 13:39, Da Rock wrote: > I know this is not exactly FreeBSD related, but I'm in need of a monk > that can enlighten me on a sacred incantation to connect perl to an > imap server using Mail::Box modules :) If it helps people sleep, its > all running only on FreeBSD systems... > > I have googled and searched, and googled some more, and tested, and > then went back to the drawing board and googled yet again... there is > simply no clear answer out there. All the docs are very disjointed > from my reckoning- with no clear direction that explains how you get > from a-b. > > I have enabled a connection (I think - based on my tests and logs), > but I cannot get further than that. I have a Mail::Box::Manager > instantiated, and then I have to use Mail::Box::IMAP4 to open a > connection to the server. From there I need to get a list of the > folders available- and thats where I get stymied. > > All the docs are pop3 based, or maildir based, or mbox. The imap is > very sketchy... and what is out there says to basically connect, and > then there is a jump to folders and messages with no idea of what is > involved in between. Although I did see one complete example with > pop3, but it won't work for imap. > there's good php support for IMAP, documentation might be better http://uk.php.net/manual/en/function.imap-list.php (easily scripted via cli). Paul..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F246279.1020406>