public function __construct(string$sendAccName, array$receivers)Creates new instance of the class.
Class Methods Details
public function __construct(string$sendAccName, array$receivers)Creates new instance of the class.
Parameters:
string $sendAccName The name of SMTP account that will be used to send the message. Note that it must be exist in the class 'MailConfig'.
array $receivers An associative array of receivers. The indices are the addresses of the receivers and the values are the names of the receivers (e.g. 'xy