Re: Getting a SCALAR() as the message body in bugzilla-generatedemails - Mozilla

This is a discussion on Re: Getting a SCALAR() as the message body in bugzilla-generatedemails - Mozilla ; On Tue, 22 Apr 2008 15:53:04 -0400 Madison Kelly wrote: >> I just installed bugzilla 3.0.3 (using PgSQL). Everything seems > fine, except when it sends an email the message body is just a SCALAR > reference... Update all your ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: Getting a SCALAR() as the message body in bugzilla-generatedemails

  1. Re: Getting a SCALAR() as the message body in bugzilla-generatedemails

    On Tue, 22 Apr 2008 15:53:04 -0400 Madison Kelly
    wrote:
    >> I just installed bugzilla 3.0.3 (using PgSQL). Everything seems

    > fine, except when it sends an email the message body is just a SCALAR
    > reference...


    Update all your Email:: modules to the latest versions.

    -Max
    --
    http://www.everythingsolved.com/
    Competent, Friendly Bugzilla and Perl Services. Everything Else, too.

  2. Re: Getting a SCALAR() as the message body in bugzilla-generatedemails

    On Apr 22, 11:04 pm, Max Kanat-Alexander wrote:
    > On Tue, 22 Apr 2008 15:53:04 -0400 Madison Kelly
    > wrote:
    >
    > >> I just installed bugzilla 3.0.3 (using PgSQL). Everything seems

    > > fine, except when it sends an email the message body is just a SCALAR
    > > reference...

    >
    > Update all your Email:: modules to the latest versions.
    >
    > -Max
    > --http://www.everythingsolved.com/
    > Competent, Friendly Bugzilla and Perl Services. Everything Else, too.


    My SCALAR problem was resolved by modifying the MIME.pm file in /usr/
    local/share/perl/5.8.8/Email.

    I changed Line 37 from:

    sub as_string {
    my $self = shift;
    return $self->__head->as_string
    . ($self->{mycrlf} || "\n") # XXX: replace with ->crlf
    Line 37: . $self->body_raw;

    }

    to

    sub as_string {
    my $self = shift;
    return $self->__head->as_string
    . ($self->{mycrlf} || "\n") # XXX: replace with ->crlf
    Line 37: . $self->body;

    }

    Removing the '_raw'

    then ran ./checksetup.pl

    and all appears to be working now...

    - I had to chmod the MIME.pm file to make it writable [chmod a+w
    MIME.pm]; then back to read only when done).

    I've been running to months now with no problems send email

+ Reply to Thread