I'm forced to use IMAP to send e-mail because my e-mail provider annoyingly doesn't support SMTP.
So I looked up how to send e-mail over IMAP in PHP.
I found this: https://www.php.net/manual/en/function.imap-mail.php
imap_mail ( string $to , string $subject , string $message [, string $additional_headers = null [, string $cc = null [, string $bcc = null [, string $rpath = null ]]]] ) : bool
All the other imap_*
functions have a parameter to specify which IMAP connection to use. This function does not.
How does imap_mail
know which "IMAP handle" to use?