in reply to Re: Mail::Sender problem
in thread Mail::Sender problem

The code is in my scratchpad $message is a multiline string

Replies are listed 'Best First'.
Re: Re: Re: Mail::Sender problem
by Fastolfe (Vicar) on Dec 11, 2001 at 22:03 UTC

    Since you're using the MailMsg method, you have to fix your newlines beforehand.

    $message =~ s{\n}{\012\010}g;
      I suspected something like that, though i thought the function would split the message up.

      Thanks for the help