Skip to content

Convert

It is easy to convert between different email representations.

To an email object

EML String to Email

string.toEmail()

MimeMessage to Email

mimeMessage.email

From an email object

Email to MimeMessage

email.mimeMessage

Email to EML String

email.eml