Email

This documentation provides details about the data that can be faked for an Email.

To retrieve generated/fake data for an Employee see the following capabilities:

from socfaker import SocFaker

sc = SocFaker()

print(sc.email.received_from)
print(sc.email.x_headers)
print(sc.email.date)
print(sc.email.to_address)
print(sc.email.from_address)
print(sc.email.subject)
print(sc.email.message_id)
print(sc.email.x_mailer)
print(sc.email.in_reply_to)
print(sc.email.body)
print(sc.email.email)

Email Class

class socfaker.email.Email

The Email class is designed to create random formatted eml files.

Returns:
Email: A Email object containing properties related to a generated eml file.
body
date
email
from_address
in_reply_to
message_id
received_from
subject
to_address
x_headers
x_mailer