english/libraries/joomla/mail/mail.php
/**
	 * Add recipients to the email
	 *
	 * @param   mixed  $recipient  Either a string or array of strings [email address(es)]
	 *
	 * @return  JMail  Returns this object for chaining.
	 *
	 * @since   11.1
	 */
Add recipients to the email
@param   mixed  $recipient  Either a string or array of strings [email address(es)]

@return  JMail  Returns this object for chaining.


Add recipients to the email @param mixed $recipient Either a string or array of strings [ email address ( es ) ] @return JMail Returns this object for chaining .
public function addRecipient($recipient)
	{
		if (is_array($recipient)) {
			foreach ($recipient as $to)
			{
				$to = JMailHelper::cleanLine($to);
				$this->AddAddress($to);
			}
		}
		else {
			$recipient = JMailHelper::cleanLine($recipient);
			$this->AddAddress($recipient);
		}
		return $this;
	}
public function addRecipient ( $ recipient ) { if ( is_array ( $ recipient ) ) { foreach ( $ recipient as $ to ) { $ to = JMailHelper :: cleanLine ( $ to ) ; $ this -> AddAddress ( $ to ) ; } } else { $ recipient = JMailHelper :: cleanLine ( $ recipient ) ; $ this -> AddAddress ( $ recipient ) ; } return $ this ; }
Add recipients to the email
 @param   mixed  $recipient  Either a string or array of strings [email address(es)]
Add recipients to the email @param mixed $recipient Either a string or array of strings [ email address ( es ) ]
// If the recipient is an array, add each recipient... otherwise just add the one