in reply to Re: Net::SMTP generates unexpected errors in Debug Mode
in thread Net::SMTP generates unexpected errors in Debug Mode

That was it! It is the order in which the methods are invoked. Thanks!
  • Comment on Re: Re: Net::SMTP generates unexpected errors in Debug Mode

Replies are listed 'Best First'.
Re: Re: Re: Net::SMTP generates unexpected errors in Debug Mode
by ChunkyMonk (Initiate) on Dec 23, 2002 at 01:11 UTC
    When in doubt, I often just telnet into the SMTP server (port 25) and try the commands manually:

    HELO domain.com
    MAIL FROM: user@domain.com
    RCPT TO: user@destination.com
    DATA
    ..<blah blah>

    Some SMTP servers are very lenient and some are very strict. Try your best to stick to the RFC and I think you'll be safe in any case:

    http://www.ietf.org/rfc/rfc0821.txt