(PHP 4, PHP 5, PHP 7)
Send an email message
bool imap_mail ( string $to, string $subject, string $message [, string $additional_headers = NULL [, string $cc = NULL [, string $bcc = NULL [, string $rpath = NULL ]]]] )
This function allows sending of emails with correct handling of Cc and Bcc receivers.
The parameters to, cc and bcc are all strings and are all parsed as » RFC822 address lists.
Parameters