in reply to Re: SMTP e-mail 530 authenication problem
in thread SMTP e-mail 530 authenication problem

I tried using ->auth but so far just a return of zero.
For the name and password arguments I wrote both in 'clear' text.
Passwords always seem to be shown as *. Is there something I should do so that this is how the password is seen in the Perl code?
I am sure both are correct since I verified them using the Accounts functions for my e-mail.
For SMPT modules I have just called use Net::SMTP;
Is there anything else I must have before this will work?
  • Comment on Re^2: SMTP e-mail 530 authenication problem

Replies are listed 'Best First'.
Re^3: SMTP e-mail 530 authenication problem
by Anonymous Monk on Jun 19, 2009 at 12:52 UTC
    Passwords always seem to be shown as *.

    They should always be shown as *.

    Is there anything else I must have before this will work?

    For start, show/examine debug output, it should say why auth failed.

      I understand the comment about * and passwords but how do I type the password in and get *'s. I have looked
      in my Perl books but cannto see a way of doing this
      I have also looked in the SMTP.pm module and found that auth
      required the Authen:SASL module.
      I downloaded and stored VERSION = "2.12"
      I got further but then found the next error of
      Cannot find a SASL Connection library at .../SMTP.pm line 145
      This line and the ones either side are
      # currently know and SASL mechanisms that are used by smtp that ne +ed it my $client = $sasl->client_new('smtp',${*$self}{'net_smtp_host'},0 +); my $str = $client->client_start;
      Any idea where to go next?
        Any idea where to go next?

        Start again :) show your code, debug output