How can PHP be used to send emails with a specific sender address?

To send emails with a specific sender address using PHP, you can use the `mail()` function with additional headers specifying the sender address. You need to set the "From" header in the additional headers parameter of the `mail()` function.

$to = "recipient@example.com";
$subject = "Test Email";
$message = "This is a test email.";
$headers = "From: sender@example.com\r\n";

mail($to, $subject, $message, $headers);