Appriciate the feedback. After doing the test using the Net::IMAP::Simple 
Perl module and it
  working across ALL servers, I think I'm just going to convert the IMAP parts 
of the code to
  using the full Net::IMAP module instead. That way not only will I have to 
worry about what I'm
  getting for responses from the server but also it would be a for sure on all 
platforms.

  Thanks again!

On Friday, March 18, 2005 at 10:30:04 PM, [EMAIL PROTECTED] confabulated:

> Duane,

> May I suggest you use the \r\n all the time? Try it with the
> other servers and I bet they will work, too! If it does, then you
> can remove the exception handling for IMail and be platform
> independent!

> Some servers may allow the use of either, but everything I've
> read in RFCs about SMTP, POP3, IMAP, FTP and other similar
> protocols tells me to send <CRLF> (or \r\n) as the terminating
> sequence of a command line. You just found out that some servers
> are just more strict about this requirement than others.

> I remember another programmer who thought he knew better and
> assured me, more than once, he was sending <CRLF> and when he
> sent me his code (which used \0xx form, instead) I did the
> conversion and guess what? He was sending <LFCR> instead. This is
> _not_ the same!! Once he reversed the characters, his code
> worked, too!

> I learned this long ago in my RS232 communication days (yea, I
> wrote code to communicate with hardware and collect measurement
> data) and it is not a lesson I've forgotten even though many
> years have passed.  Somehow, I don't think you will forget now,
> either, welcome to the club...

> Dan Donnelly

-----

Duane Hill
Sr E-Mail Administrator
http://www.yournetplus.com


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to