If the user forgets to provide her e-mail address on
http://test.bewelcome.org/bw/inviteafriend.php
, an uncaught exception (black on white) is displayed:
Fatal error: Uncaught exception 'Exception' with message 'The recipients parameter must either be a valid string email address, an instance of Swift_RecipientList or an instance of Swift_Address.'
in
/var/www/test_html/htdocs/bw/lib/swift/Swift.php:338 Stack trace: #0 /var/www/test_html/htdocs/bw/lib/mailer.php(330): Swift->send(Object(Swift_Message), '', 'message@bewelco...') #1
/var/www/test_html/htdocs/bw/lib/mailer.php(51): bw_sendmail('', 'Curious about t...', 'Message from ??...', '', '', 'message@bewelco...', '0', 'html', '', '', '') #2
/var/www/test_html/htdocs/bw/inviteafriend.php(74): bw_mail('', 'Curious about t...', 'Message from ??...', '', 'message@bewelco...', '0', 'html', '', '') #3
{main}
thrown in /var/www/test_html/htdocs/bw/lib/swift/Swift.php on line 338