[freeside] getting error when trying to send email.
ivan
ivan at 420.am
Thu Dec 14 17:56:32 PST 2000
On Thu, Dec 14, 2000 at 08:44:26AM -0600, Brian Wolfe wrote:
> heres the output of that. I'm swamped with another project so I can't dig into the lib myself or I would right now. Maybe Saturday.
change
$message->smtpsend([ 'Debug'=>1 ])
to
$message->smtpsend( 'Debug'=>1 )
silly inaccurate Mail::Internet manpage.
then look at the debugging output.
> freeside at enigma:~$ freeside-bill -c ahzz
> Unrecognized escape \w passed through at /usr/local/lib/site_perl/FS/cust_pay_batch.pm line 179, <DATA> line 241.
> Unrecognized escape \w passed through at /usr/local/lib/site_perl/FS/cust_pay_batch.pm line 179, <DATA> line 241.
I wonder what's up with these? Since when is `\w' an unrecognized escape
in Perl? Very odd.
> Billing customer #16
> Reference found where even-sized list expected at blib/lib/Mail/Internet.pm (autosplit into blib/lib/auto/Mail/Internet/smtpsend.al) line 570.
> Can't send invoice email! at /usr/local/lib/site_perl/FS/cust_main.pm line 727.
> freeside at enigma:~$
>
> the smtp host is set in smtpmachine as well to mail.terrabox.com and that config is the same as it's allways been.
>
> it was only the upgrade to debian woody that did it to me. I'm wondering if it's that library that was messed up.
>
> heres the packages that I have installed....
>
> enigma:/var/www/freeside# dpkg -l | grep perl
> rc apache-perl 1.3.12-1-1.24- Versatile, high-performance HTTP server with
> ii eperl 2.2.14-0.6 Embedded Perl 5 Language
> ii gimp1.1-perl 1.1.29-1 Perl support and plugins for The GIMP
> ii libdate-manip- 5.39-1 a perl library for manipulating dates
> pi libdbi-perl 1.14-2 The Perl5 Database Interface by Tim Bunce
> ii libdevel-symdu 2.00-4 Perl module for inspecting perl's symbol tab
> ii libgtk-perl 0.7004-1 Perl module for the gtk+ library
> ii libmime-perl 5.311-1 Perl5 modules for MIME-compliant messages (M
> ii libmpeg-mp3inf 0.71-5 perl MPEG::MP3Info - Manipulate / fetch info
> ii libnet-perl 1.0703-4 Implementation of Internet protocols for Per
> ii libpalm-perl 1.2.2-1 Perl 5 modules for manipulating pdb and prc
> pi libperl5.6 5.6.0-6 Shared Perl library
> ii libpgperl 7.0.3-2 Perl modules for PostgreSQL.
> ii libtext-csv-pe 0.20-3 perl Text::CSV_XS - comma-separated values m
> ii libtext-templa 1.20-2 Text::Template perl module
> ii libtie-cache-p 0.08-1 perl Tie::Cache - LRU Cache in Memory.
> ii libtimedate-pe 1.08-4 Time and date functions for perl.
> ii liburi-perl 1.09-1 Manipulates and accesses URI strings
> ii libwww-perl 5.48-3 WWW client/server library for Perl
> ii libxbase-perl 0.1610-2 Perl module to access xbase files (optionall
> ii libxml-perl 0.07-1 Perl modules for working with XML
> ii mailtools 1.15-1 Manipulate email in perl programs
> ii pdl 2.1.1-1 The perl data language. Perl extensions for
> ii perl-5.005 5.005.03-7.1 Larry Wall's Practical Extracting and Report
> ii perl-5.005-bas 5.005.03-7.1 The Pathologically Eclectic Rubbish Lister
> ii perl-5.005-deb 5.005.03-7.1 View internals of Perl and debug Perl itself
> ii perl-5.005-doc 5.005.03-7.1 Man pages and pod docs for Perl
> ii perl-5.005-sui 5.005.03-7.1 Runs setuid Perl scripts.
> ii perl-5.005-thr 5.005.03-7.1 Experimental Perl binary with threading enab
> ii perl-5.6 5.6.0-6 Larry Wall's Practical Extracting and Report
> ii perl-5.6-base 5.6.0-6 The Pathologically Eclectic Rubbish Lister
> ii perl-5.6-suid 5.6.0-6 Runs setuid Perl scripts.
> ii perl-5.6-threa 5.6.0-6 Experimental Perl binary with threading enab
> ii perl-base 5.004.05-1.1 Fake package assuring that one of the -base
> ii perlmagick 5.25-1 A perl interface to the libMagick graphics r
> enigma:/var/www/freeside#
>
> btw, libdbi and lidbd are from cpan directly as is libnet whois.
>
> Thanks forthe help.
>
> On Tue, Dec 12, 2000 at 05:42:32PM -0800, ivan wrote:
> > On Tue, Dec 12, 2000 at 06:20:04PM -0600, Brian Wolfe wrote:
> > > heres the info.
> > >
> > > Debian Woody
> > > default perl == 5.005
> > > installed perl = 5.005, 5.6
> > > 2.4.0-test9
> > >
> > > used perl-5.005 -MCPAN -e shell
> > > to install all the modules that were listed on the list in the
> > > documentation. i had the system offline for a while. It all started
> > > with a new system and the debian upgrade to perl 5.6. I changed the
> > > default /usr/bin/perl to point to perl-5.005 so it would get the old
> > > perl. I'm not getting any errors other than it can't send the email.
> > > heres the error message as it was printed.
> > >
> > > freeside at enigma:~$ freeside-bill -c ahzz
> > > Billing customer #16
> > > Can't send invoice email! at /usr/local/lib/site_perl/FS/cust_main.pm line 727.
> > > freeside at enigma:~$
> >
> > You need to set the `smtpmachine' configuration file to the name of a
> > machine which will relay for your Freeside machine. See
> > htdocs/docs/config.html. If that isn't working for you, try adding the
> > Debug option to line 727:
> >
> > $message->smtpsend( [ 'Debug'=>1 ] ) or die "Can't send invoice email!"; #die? warn?
> >
> > > Has anyone else run into this or have a patch that will let me run
> > > this under perl-5.6? I'm going to attempt reinstalling all the modules
> > > as perl5.6 and running under that instead of forcing 5.005
> >
> > I switched over to 5.6 when Debian did. No problems.
> >
> > --
> > meow
> > _ivan
--
meow
_ivan
More information about the freeside-users
mailing list