[Koha-bugs] [Bug 12040] Add STMP authentication parameters to runreports.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 7 20:00:28 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12040

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26876|0                           |1
        is obsolete|                            |

--- Comment #8 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 26877
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26877&action=edit
[SIGNED OFF] Bug 12040 - Add 3 parameters for SMTP authentication

-username -> Username to pass to the SMTP server for
              authentication
-password -> Password to pass to the SMTP server for
              authentication
-method   -> Method is the type of authentication.
              Ie. LOGIN, DIGEST-MD5, etc.

Test Plan
---------
As for testing manually using a Gmail account:

1. Set up your sendmail as shown in
    misc/cronjobs/CONFIGURE.gmail

2. Before applying this patch, run misc/cronjobs/runreports.pl
    on your favorite report including the proper email parameters
    against your gmail account.

3. Note the failure message stating the authentication
    requirement.

4. Apply this patch, and return the script including the
    additional parameters and specifying "LOGIN" for the method.

5. Note the successful send.

6. perldoc misc/cronjobs/runreport.pl

7. Run the koha qa test tool.

Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

Note: My Mail/Sendmail.pm was in /usr/share/perl5/Mail/Sendmail.pm
      I tested the case with the patch applied, with and without
      expected parameters. The parameters don't exist before, so
      I don't see how to pass values for them.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list