pmboda has asked for the wisdom of the Perl Monks concerning the following question:

hi everyone, since ou DB administrator mail server i'm receiving the message: smtp auth() command not supported on, i have search but no way to get reed of.

Replies are listed 'Best First'.
Re: Issue using MIME::Lite
by kcott (Archbishop) on Jul 20, 2016 at 08:45 UTC

    G'day pmboda,

    "hi everyone, since ou DB administrator mail server i'm receiving the message: smtp auth() command not supported on, i have search but no way to get reed of."

    This is a poorly written post that provides us with little to work with. The code that is causing the message should be shown. The full message should be shown. Whatever issue you have with the message should be stated. Your post should contain an actual question! Please read "How do I post a question effectively?", and follow the guidelines therein, before posting again.

    My best advice at this point is that, if you stop using an unsupported command, you won't get a message saying you're using an unsupported command.

    Of course, you may have some syntactical or typographical error, such as using a method as a function, which could result in the message you're seeing.

    — Ken

      Sorry Kcott, here is the head of my code

      use DBI; use MIME::Lite; use Net::SMTP;
      command used to send the mail is $msg->send('smtp', $mail_host, AuthUser=>'mail id', AuthPass=>'password', Timeout=>60, Debug=>1); $msg->send; error message is :
      MIME::Lite::SMTP>>> MIME::Lite::SMTP MIME::Lite::SMTP>>> Net::SMTP(3.07) MIME::Lite::SMTP>>> Net::Cmd(3.07) MIME::Lite::SMTP>>> Exporter(5.63) MIME::Lite::SMTP>>> IO::Socket::INET(1.31) MIME::Lite::SMTP>>> IO::Socket(1.31) MIME::Lite::SMTP>>> IO::Handle(1.28) MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 220 ns6631496.ip-5-196-85.eu ESMTP + Postfix MIME::Lite::SMTP=GLOB(0x9b32cf0)>>> EHLO localhost.localdomain MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-ns6631496.ip-5-196-85.eu MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-PIPELINING MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-SIZE 10240000 MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-VRFY MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-ETRN MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-STARTTLS MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-ENHANCEDSTATUSCODES MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250-8BITMIME MIME::Lite::SMTP=GLOB(0x9b32cf0)<<< 250 DSN SMTP auth() command not supported on
      i went round searching for response about it but no way. hope i gave more specification now
Re: Issue using MIME::Lite
by pmboda (Initiate) on Jul 20, 2016 at 09:54 UTC
    i everyone, since our DB administrator upgarded mail server i'm receiving the message: smtp auth() command not supported on, i have search but no way to get reed of. we are using zimbra

      Consider talking to your DB administrator. They know what they upgraded and what you need to change.

      Maybe your mail server does not support the auth command anymore.

      If you have talked to your DB administrator and they have given you the full information, consider adding debugging information to the ->send statement, as found in MIME::Lite:

      $msg->send('smtp','some.host', Debug=>1 );