What is the role of `Transport.send()` in sending emails in Java?
`Transport.send()` is used to send the email message after it has been properly configured with the recipient, subject, and content.
Exactly! Youâ€™ve described the role of `Transport.send()` correctly.
Can you explain how you would handle exceptions, such as invalid email addresses, when sending an email?