How can multiple file attachments be added using PHPMailer?

To add multiple file attachments using PHPMailer, you can simply use the `addAttachment()` method multiple times for each file you want to attach. Each call to `addAttachment()` should specify the file path and optional display name for the attachment.

<?php
use PHPMailer\PHPMailer\PHPMailer;

$mail = new PHPMailer();

// Add multiple file attachments
$mail->addAttachment('/path/to/file1.pdf', 'File1.pdf');
$mail->addAttachment('/path/to/file2.jpg', 'File2.jpg');
$mail->addAttachment('/path/to/file3.txt', 'File3.txt');

// Rest of your PHPMailer configuration and email sending code
?>