Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.27 KB

V1SendRequest.md

File metadata and controls

39 lines (30 loc) · 2.27 KB

V1SendRequest

Outgoing message payload. At least one of to, cc, or bcc must be present.

Properties

Name Type Description Notes
to List[str] Primary recipient email addresses. [optional]
display_name str Sender display name shown in the From header alongside the mailbox address. [optional]
cc List[str] Carbon-copy recipient email addresses. [optional]
bcc List[str] Blind-carbon-copy recipient email addresses. Not visible to other recipients. [optional]
subject str Message subject line. [optional]
text str Plain-text body. Optional; if both text and html are omitted the message is sent without a body. [optional]
html str HTML body. Optional; if both text and html are omitted the message is sent without a body. Inline images are referenced via cid: URLs matching attachment cid values. [optional]
attachments List[V1SendAttachment] Files to attach. Inline images set cid; regular attachments omit it. [optional]
in_reply_to V1SendMessageRef Source message this is a reply to. Copies its Message-Id/References into In-Reply-To/References and flags it \Answered. Mutually exclusive with forwardOf. [optional]
forward_of V1SendMessageRef Source message this forwards. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo. [optional]

Example

from hostinger_mail_api.models.v1_send_request import V1SendRequest

# TODO update the JSON string below
json = "{}"
# create an instance of V1SendRequest from a JSON string
v1_send_request_instance = V1SendRequest.from_json(json)
# print the JSON string representation of the object
print(V1SendRequest.to_json())

# convert the object into a dict
v1_send_request_dict = v1_send_request_instance.to_dict()
# create an instance of V1SendRequest from a dict
v1_send_request_from_dict = V1SendRequest.from_dict(v1_send_request_dict)

[Back to Model list] [Back to API list] [Back to README]