Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Simple CPAN distribution.

Report information
The Basics
Id: 37116
Status: rejected
Priority: 0/
Queue: Email-Simple

People
Owner: Nobody in particular
Requestors: claus.fischer [...] clausfischer.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Warnings when using Email::Simple::Creator with Email::Send
Date: Thu, 26 Jun 2008 10:08:06 +0200
To: bug-Email-Simple-Creator [...] rt.cpan.org, bug-Email-Send [...] rt.cpan.org
From: Claus Fischer <claus.fischer [...] clausfischer.com>
System: Debian-Etch x86 Version: Perl: 5.8.8-7 Email::Simple::Creator: 1.41-1 Email::Send: 2.181-1 Bug description: **************** When using Email::Send with an object created with Email::Simple, perl -w with use strict gives those warnings: Use of uninitialized value in exists at /usr/share/perl5/Email/Address.pm line 147, <STDIN> line 1. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Email/Address.pm line 166, <STDIN> line 1. Use of uninitialized value in hash element at /usr/share/perl5/Email/Address.pm line 156, <STDIN> line 1. Use of uninitialized value in exists at /usr/share/perl5/Email/Address.pm line 147, <STDIN> line 1. Use of uninitialized value in hash element at /usr/share/perl5/Email/Address.pm line 147, <STDIN> line 1. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Email/Address.pm line 166, <STDIN> line 1. Use of uninitialized value in hash element at /usr/share/perl5/Email/Address.pm line 156, <STDIN> line 1. Sample code: ************ # Send confirmation email my $confmessage = Email::Simple->create( header => [ From => 'some.one@somewhere.com', ReplyTo => 'some.else@somewhere.com', To => 'another.one@somewhereelse.com', CC => '', BCC => '', Subject => 'All done', ], body => ("Anything that needs to be done, has been done.\n" . "Anything else will not be done.\n" )); # Send confmessage via SMTP my $emailer = Email::Send->new({mailer => 'SMTP', mailer_args => [Host => 'localhost'] }); $emailer->send($confmessage); -- Claus Fischer <claus.fischer@clausfischer.com> http://www.clausfischer.com/
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #37116] Warnings when using Email::Simple::Creator with Email::Send
Date: Thu, 26 Jun 2008 07:10:17 -0400
To: Claus Fischer via RT <bug-Email-Simple-Creator [...] rt.cpan.org>
From: Ricardo SIGNES <rjbs [...] cpan.org>
* Claus Fischer via RT <bug-Email-Simple-Creator@rt.cpan.org> [2008-06-26T04:08:44] Show quoted text
> > # Send confirmation email > my $confmessage = > Email::Simple->create( > header => [ From => 'some.one@somewhere.com', > ReplyTo => 'some.else@somewhere.com', > To => 'another.one@somewhereelse.com', > CC => '', > BCC => '',
The problem is almost certainly those empty headers. Don't do that. -- rjbs
Subject: Re: [rt.cpan.org #37116] Warnings when using Email::Simple::Creator with Email::Send
Date: Thu, 26 Jun 2008 14:27:15 +0200
To: Ricardo SIGNES via RT <bug-Email-Simple-Creator [...] rt.cpan.org>
From: Claus Fischer <claus.fischer [...] clausfischer.com>
On Thu, Jun 26, 2008 at 07:10:59AM -0400, Ricardo SIGNES via RT wrote: : The problem is almost certainly those empty headers. Don't do that. No, I did those empty headers in reaction to the warnings, but they didn't help. You get the warnings without them, too. Claus -- Claus Fischer <claus.fischer@clausfischer.com> http://www.clausfischer.com/
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

I cannot reproduce this bug. -- rjbs