Send asynchronous email with phpmailer
问题 Is it possible to send asynchronous emails with phpmailer? Regular mail sending code snippet is as follows: $mail->Send(); PHP waits for the Send() to return the result before moving on. Is it possible to have phpmailer to return a result instantly without waiting for the real email sending routine to complete. 回答1: Update May 2016 As mentioned by user @Sinak Salek PHP does support multithreading. It is available using the pthreads extension. Original PHP does not support multithreading