setFrom('from@example.com', 'From Name'); $mail->addAddress('to@example.com', 'To Name'); $mail->Subject = 'Test Email'; $mail->Body = 'This is a test email'; // Send the email if (!$mail->send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Message sent!"; } ?>In the above example, we first include the PHPMailer library using the Composer package manager. We then create a new PHPMailer object and set up the email message by specifying the sender and recipient email addresses, subject, and body. Finally, we send the email using the `send()` function and check for any errors using the `ErrorInfo` property. Other examples of popular PHP plugins include: - GuzzleHTTP: A library used to make HTTP requests from PHP. - Doctrine ORM: A database abstraction layer and object-relational mapper for PHP. - PHPUnit: A testing framework for PHP.