Re: [Http-webtest-general] Sending email errors to multiple addresses
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <il...@ip...> - 2003-11-25 09:17:58
|
>>>>> "WM" == William McKee <wi...@kn...> writes: WM> Hi Ilya, WM> I'm having troubles sending email to multiple addresses when a test WM> fails. I'm using WebTest 2.04 and Net::SMTP 2.26. Here are my params: WM> my $global_params = { WM> # Global parameters WM> ignore_case => 'yes', WM> mail => 'errors', WM> mail_addresses => [ 'wi...@kn...', 'k9...@kn...' ], WM> mail_server => 'smtp-server.carolina.rr.com', WM> mail_from => 'wi...@kn...', WM> terse => 'failed_only', WM> show_html => 'yes', WM> show_cookies => 'yes', WM> show_headers => 'yes', WM> }; WM> The header fields will show that the mail is sent To: both addresses. WM> However, only the first address receives the message. I have checked the WM> code and can't find a problem with it. It appears to adhere to the WM> Net::SMTP docs. I'm going to keep looking but wanted to see if anyone WM> else had problems with sending to multiple addresses. Just tried following example and it worked correctly for me (i.e. mailed results to both addresses): use HTTP::WebTest; my $wt = HTTP::WebTest->new; $wt->run_tests([ { url => 'http://localhost/', text_require => [ 'Bla bla' ] } ], { mail => 'all', mail_addresses => [ 'il...@ip...', 'il...@ma...' ] }); I had same versions of HTTP::WebTest and Net::SMTP I'd check mail server logs for any errors. -- 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 |