What are the best practices for handling line breaks in text emails sent using PHP?

When sending text emails using PHP, it's important to handle line breaks properly to ensure the email content is displayed correctly across different email clients. To do this, you can use the PHP `wordwrap()` function to limit the number of characters per line and the `PHP_EOL` constant to insert line breaks.

// Set the email content
$email_content = "This is a long text that needs to be wrapped to avoid exceeding the line length.";

// Wrap the text to limit characters per line
$email_content = wordwrap($email_content, 70, PHP_EOL);

// Send the email with properly formatted content
mail('recipient@example.com', 'Subject', $email_content);