in reply to Re: send contents of a file in mail
in thread send contents of a file in mail

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: send contents of a file in mail
by hippo (Archbishop) on Jun 28, 2023 at 08:43 UTC
    i use sendMail for sending mail

    Did you write this subroutine yourself? If so, you should provide the code. If not, you should explain precisely and in detail where it comes from.

    output:

    2

    We'll assume that's from the only print statement shown which means that read_file($errorLog); isn't doing what you expect. You will need to fix your read_file() subroutine.


    🦛

    A reply falls below the community's threshold of quality. You may see it by logging in.