http://www.perlmonks.org?node_id=1118776


in reply to Re^2: Authenticate email
in thread Authenticate email

Or would I need to edit the Module as well?

No need to edit the module.

The snippet of code shows some variable declaration.

What it does not declare is the username and password declaration that would be needed for authentication. (never post real world usernames or passwords on the net)

Also it is not the part that would do the actual authentication.

When cross-checking Net::SMTP's auth method against the module list provided I noticed Authen::SASL is missing in there.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Replies are listed 'Best First'.
Re^4: Authenticate email
by dylinn (Novice) on Mar 04, 2015 at 18:16 UTC

    "The Snippet of code" ?? Is that the code/script I provided or the "Module" Ipower provided?

    Authen::SASL? Does that mean I need to tell IPower to install that before I can use my script?

      "The Snippet of code" ?? Is that the code/script I provided or the "Module" Ipower provided?

      I was referring to the snipped in your post.

      Authen::SASL? Does that mean I need to tell IPower to install that before I can use my script?

      Maybe - that is if that is the kind of authentication you will be using through Net::SMTP.

      Cheers, Sören

      Créateur des bugs mobiles - let loose once, run everywhere.
      (hooked on the Perl Programming language)

        Correct, there is no username and password in the script I was provided. I was guessing that would be in the code I need to add regarding the Net::SMTP module. To clarify, I am not a programmer of any kind and know absolutely nothing about perl. I was given a script and a readme file with instructions. The readme file did not include information on how to work with servers that do not allow unauthenticated relaying. I am ever so grateful for you kind souls attempting to help me.