LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] IMAP & Perl

[ILUG] IMAP & Perl

Colm MacCárthaigh colmmacc at redbrick.dcu.ie
Mon Jul 22 18:15:19 IST 2002


On Mon, Jul 22, 2002 at 05:06:41PM +0000, John Hegarty wrote:
> I have a perl script that needs to send mail . But becuase of a firewall i
> can only access an imap server which requires a username/password. Can
> this be done?

Some IMAP servers allow you to send mail upon it being copied into an
OUTGOING or OUTBOX mail folder, but it isnt exactly standard, IMAP
is much mroe commonly used for reading mail :)

If the IMAP server you are using supports mail being sent, then
there are plenty of perl modules to help out.

tara:/etc/ldap# perl -MCPAN -eshell

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support enabled.

cpan> i /IMAP/
Going to read /usr/local/cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /usr/local/cpan/sources/modules/02packages.details.txt.gz

  Database was generated on Mon, 22 Jul 2002 07:52:00 GMT
Going to read /usr/local/cpan/sources/modules/03modlist.data.gz
Distribution    D/DJ/DJKERNEN/Mail-IMAPClient-2.1.4.tar.gz
Distribution    E/EE/EESTABROO/IMAP-Admin-1.6.1.tar.gz
Distribution    F/FA/FABPOT/Unicode-IMAPUtf7-1.04.tar.gz
Distribution    J/JP/JPAF/Net-IMAP-Simple-0.93.tar.gz
Distribution    M/MI/MICB/AuthenIMAP.pm.gz
Distribution    U/UG/UGEN/IMAPGet-0.1.tar.gz
Module          Apache::AuthenIMAP (M/MI/MICB/AuthenIMAP.pm.gz)
Module          IMAP::Admin     (E/EE/EESTABROO/IMAP-Admin-1.6.1.tar.gz)
Module          IMAPGet         (U/UG/UGEN/IMAPGet-0.1.tar.gz)
Module          Mail::IMAPClient (D/DJ/DJKERNEN/Mail-IMAPClient-2.1.4.tar.gz)
Module          Mail::IMAPClient::BodyStructure (D/DJ/DJKERNEN/Mail-IMAPClient-2.1.4.tar.gz)
Module          Mail::IMAPClient::Parse (D/DJ/DJKERNEN/Mail-IMAPClient-2.1.4.tar.gz)
Module          Net::IMAP       (K/KJ/KJOHNSON/NetxAP-0.02.tar.gz)
Module          Net::IMAP::Simple (J/JP/JPAF/Net-IMAP-Simple-0.93.tar.gz)
Module          PDF::API2::UniMap (A/AR/AREIBENS/PDF-API2-0.2.3.7_dev.tar.gz)
Module          Unicode::IMAPUtf7 (F/FA/FABPOT/Unicode-IMAPUtf7-1.04.tar.gz)
16 items found


Any one of them could be worth a try :)

-- 
colmmacc at redbrick.dcu.ie        PubKey: colmmacc+pgp at redbrick.dcu.ie  
Web:                                 http://devnull.redbrick.dcu.ie/ 




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell