The sendEmail actor-chain allows an agent to send an e-mail.

Parameter

Description

to

This required parameter identifies the customer e-mail address.

cc

Identifies any addresses to be added to the cc field.

bcc

Identifies any addresses to be added to the bcc field.

subject

This required parameter provides the subject of the e-mail.

htmlBody

Identifies the HTML body of the e-mail.

textBody

Identifies the text body of the e-mail.

Send E-Mail Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"to\" :
\"customername@example.com\", \"subject\" : \"We got your request\",
\"textBody\" : \"The text for the email\", \"htmlBody\" : \"The HTML body of the
email\" }" "http://localhost:8180/rest/model/atg/svc/agent/ui/formhandlers
/RespondEmailActor/sendEmail"

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices