[Http-webtest-general] Re: Small bug in ReportPlugin.pm
Brought to you by:
m_ilya,
richardanderson
From: Amit K. <ak...@ho...> - 2003-03-28 22:18:15
|
Hi Ilya, Thanks for the quick reply to my email. I am sorry but I just tested the new version (i.e version 2.02) and I still get the error. For some reason when you do $self->_smtp_cmd($smtp, 'to', @$mail_addresses); it does not pass an array to NET::SMTP, which is why I had done the assignment of it to a temp variable and then split it to push it onto an array @to. > my $temp = join / /, @$mail_addresses; > my @to = split /\s+/, $temp; # push elements into @to array I was wondering what exactly is @$mail_addresses. Is it an array? Or an hash. Regards, Amit >From: Ilya Martynov <il...@ma...> >To: "Amit Kaul" <ak...@ho...> >CC: htt...@li... >Subject: Re: Small bug in ReportPlugin.pm >Date: Sat, 22 Mar 2003 15:22:15 +0300 > > >>>>> On Fri, 21 Mar 2003 17:15:02 -0500, "Amit Kaul" ><ak...@ho...> said: > >AK> Hi All, >AK> First of all, wanted to thank the developers of Webtest. This is a >AK> great module and I am really using it to the fullest :-). Kudos to you. > >AK> However, I was trying to setup multiple mail_addresses in a wtscript >AK> and for some reason it was giving me an error. > >AK> ie. mail_addresses = ( ab...@ao... xy...@ao... ) >AK> would come back with the following error. > > >>> RCPT To:<ab...@ao....xy...@ao...> >AK> <<< 553 malformed address: <ab...@ao....xy...@ao...> >AK> 550 <ab...@ao....xy...@ao...>... User unknown > >AK> I looked into it and this is what I came up with to fix it. Could you >AK> please commment? > >Thanks for the bug report and for the patch. It is fixed in CVS now. > >AK> [..snip..] > >-- >Ilya Martynov, il...@ip... >CTO IPonWEB (UK) Ltd >Quality Perl Programming and Unix Support >UK managed @ offshore prices - http://www.iponweb.net >Personal website - http://martynov.org > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |