Yes, Exchange (at least as configured at my office) supports IMAP. I have a script that runs on a Sun box and uses Mail::IMAPClient to read mail from various folders on our Exchange server. | [reply] |
I believe Exchange provides standard POP3 access, so you should be able to use something like Mail::POP3Client or Net::POP3 to access it.
Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd
| [reply] |
If I am reading correctly, (which I may not be) you want to take data from the form, and send it to an email address. It just so happens that the address in question is on an Exchange box. If this is the case, then the fact that it is Exchange is completely extraneous, and even if you were receiving the email it still wouldn't matter.
In terms of sending the mail out look at Net::SMTP, or look at possibly rolling your own simple mailer (thats what I did in about 3 sub functions in one of my libs for various tasks).
In terms of receiving mail I think other people already mentioned modules which do what you are looking for. Both the SMTP and POP protocols are very simple and straight forward (most of the time anyways, provided you are an honest joe). Personally I haven't played with IMAP so I can't tell you how long it would take to bang out your on IMAP client..
Happy Hacking
/* And the Creator, against his better judgement, wrote man.c */ | [reply] |
I am not an exchange "expert" but if you have the pop option enabled. You might be able to use mods like Mail::Sendmail and MIME::Lite But the real question would be why? If they need to read mail from an account a mail client would do the job better.
Update
Well reading the post again. What are they reading? If you want them to submit a form, well that sounds like a CGI which one of the others can answer that better.
| [reply] |
They are not reading, they are sending (I think I phrased the question badly). Right now what happens is: user filles out and submits form, perl script inserts the info into the database. In addition to this, I want to have the option of having the user send an email to a specified address, where the perl script would retrieve it from and insert the data into the database. This sort of thing feels a little icky, but it is a small and silly project.
| [reply] |