Resource type: sendmail
With this API call, an email can be sent analogously to the mail composer in onOffice enterprise. If the email contains macros, they will be replaced by address data (receiver
) and estate data (estateids
).
Parameters:
emailidentity
Identity under whose name the emails should be sent. Can only accept identities associated with the user in enterprisesubject
CAN BE EMPTY. Email subjectbody
CAN BE EMPTY. Email content. Ignored iftemplateid
has a valid valuetemplateid
CAN BE EMPTY. ID of an email template stored in enterprise. It is prioritized over the email content. The possible identifiers can be queried with the Get-action „Email & PDF exposé templates“receiver
ARRAY. Receiver of the email. Both valid email addresses and database IDs of enterprise addresses can be applied here. Must contain at least one valid elementcc
ARRAY, CAN BE EMPTY. Copy receiver of the email. Both valid email addresses and database IDs of enterprise addresses can be applied herebcc
ARRAY, CAN BE EMPTY. Blind copy receiver of the email. Both valid email addresses and database IDs of enterprise addresses can be transferred herepdfexposeidentifier
CAN BE EMPTY. Identifier for PDF exposés. The possible identifiers can be changed with the Get-Action “Email & PDF exposé templates”estateids
ARRAY, CAN BE EMPTY. Datenbank-IDs von Objekten in enterprise
Example:
... { "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do", "resourceid": "", "identifier": "", "resourcetype": "sendmail", "parameters": { "emailidentity": "max.mustermann@my-onoffice.de", "templateid": 1211, "receiver": [ "marie.musterfrau@onoffice.de" ] } } ...