Reply to Mail

Reply to Mail enables you to reply to the e-mail selected as per the ID field present in the Outlook. The reply can be sent to the sender or to all the recipients marked on the e-mail. You can attach a file, mention the importance of the e-mail, and then send the e-mail to intended recipients where RE is automatically added to the subject of the e-mail.

 

NOTE:  

  • Ensure that a valid ID of the mail is passed while using Reply to Mail feature. The ID can be extracted using Search Mail feature & JSON Activity. If the provided ID of the mail is not found, then the test run may fail.
  • You can add multiple attachments by providing semicolon-separated string of file paths, but the size of an individual attachment should not exceed 3MB.

 

Using Reply to Mail

  1. Make sure the prerequisites for using Office 365 activities are met.
  2. In the Canvas Tools pane, click Office 365 Services to expand the tool and view the associated activities.
  3. Drag the Outlook 365 activity inside the Office 365 Application Activity. Ensure that the output token of the OAuth process is passed on to the Outlook activity for authentication. For more information, see OAuth Activity.
    1. The validation error symbol disappears when you select relevant values in the particular field from the available list. For example, Access Token, Feature, Output Variable, or Input Configuration values.


  4. In the Access Token list, select the type of token from the argument created.
  5. In the Feature list, select Reply Mail.
    1. Click the  (Setting) icon to configure the input configuration. The Input Configuration screen appears.


    2. Ensure to define all the input parameters as an in argument in the Parameter bar for selection in the mandatory and advanced options.
    3. The Input configuration consists of two types of parameter which must be entered.
      1. Mandatory Options:
        1. In the Id list, In the Id list, select the parameter holding the ID(unique Identifier) of the email to be replied.
        2. In the Reply All, select true if you want to use the reply all feature of Outlook. If false is selected, the reply is sent only to the sender of the e-mail.
           
      2. Click Advanced Options to enter more input configuration as per your requirements. 
        1. In the Body list, select the content which needs to be added with the email's message body. 
        2. In the CC Recipients list, select the parameter holding the e-mail Ids of the recipients whom you want to copy on the e-mail publicly. If Reply All option is set as true then, these recipients will be appended to original cc recipients; if present. The Ids must be semi-colon (;) separated and the values may contain internal as well as external Ids.  
        3. In the BCC Recipients list, select the parameter holding the e-mail Ids of the recipients whom you want to copy on the e-mail privately. The Ids must be semi-colon (;) separated and the values may contain internal as well as external Ids. 
        4. In the Attachment File Path list, select the file paths which needs to be additionally attached to the email. It should be semicolon-separated string of file paths.
        5. In the Importance list, select the importance of the email from available options such as low, normal, and high.
        6. Click the Delete to remove the input parameter from the list.
      3. You can select the Is Default Value checkbox to set the selected input parameter as the default value.
      4. Once done, click Confirm.
  6. In the Output list, select the argument which should store the result. The argument should be of Out Direction. 
  7. Save the process. 
  8. In the Tool bar, click Setup Environment.

    NOTE:  

    You must select the relevant scope as per the activities in the automation process.

  9. Once environment setup is completed perform the Test Run. The studio console will display the successful message with the required output else, output will be blank . 
    1. Output is of the format : {"Response":"Reply sent Successfully"}.