from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.communication.send_email(
body="body",
subject="subject",
to="to",
)
print(response)
{}
Processes and dispatches an email. Supports plain text and encrypted emails. Attachments can be provided by ID, optionally zipped together before sending. Encrypted emails are stored and a notification link is sent.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.communication.send_email(
body="body",
subject="subject",
to="to",
)
print(response)
{}
Indicates the email request was accepted and processed (or queued for processing).