When we search "mail" in activities we can see
Step1: Sequence-> SMTP-> Send SMTP
Firstly we need to mention all the properties in order to send an email
a) HOST
- We need to give PORT number. It expects Int32. The value is 587
- We need to mention SERVER details. This expects a String value. We need to ask IT folks for this server details. For gmail it could be mail.gmail.com
b) LOGON
- We need to give EMAIL value. This is the email from which email would be sent to sender
- We need to give PASSWORD
However, this is not the right way to do this. In an Enterprise we store these HOST and LOGON values in Orchestrator server and that will encrypt your email id and password and when the robot runs we generally use an activity "Get Credentials" and we sign in to variable memory that way the only person who sees the logon details would be IT source who helps us in using orchestrator server.
c)OPTIONS:
We can specify if it is HTML email and What kind of SecureConnection we are using "Auto" for now
d) RECEIVER
- We can provide semi colon seperated receivers in "To" list . We can configure this is Orchestrator server so that we dont need to recompile and redeploy the robot when you want to change that. We can directly change the value in Orchestrator server itself
- We can give sender email and name here
f) EMAIL:
- Provider Body and Subject details
No comments:
Post a Comment