the sender of the email
the recipient(s) of the email, multiple entries need to be comma separated
the email subject
the email body
an optional Reply To. default empty
an optional mail id/In-Reply-To. default empty
an optional cc, multiple entries need to be comma separated (defaults to null)
an optional bcc, multiple entries need to be comma separated (defaults to null)
true if the mail was sent without any errors, otherwise false
Spawns a child process that sends an email using sendmail.
If multiple entries need to be passed in the recipient list, cc list, or bcc list, then the entries need to be comma separated. There exists an overloaded version of this function which takes these lists as 2D arrays instead of regular arrays (with each entry being passed in a different index), and automatically performs the comma separation.