Package com.emc.d2fs.interfaces

# Interface ISendmailService

All Superinterfaces:
  `ID2fsService`

public interface ISendmailService extends ID2fsService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `sendMail(Context context, List<String> objIds, List<String> recipients, String subject, String message, boolean attachFile, String preferredFormat, Object altFileAttachment)`
  Send mail

  ### Methods inherited from interface com.emc.d2fs.interfaces.ID2fsService

  `isRemote, setRemote`

- ## Method Details

  - ### sendMail

    void sendMail(Context context, List<String> objIds, List<String> recipients, String subject, String message, boolean attachFile, String preferredFormat, Object altFileAttachment) throws Exception
    Send mail
    Parameters:
      `context` - `Context` object containing informations about client/session
      `objIds` - List of document id
      `recipients` - List of recipient
      `subject` - String value of the subject
      `message` - String value of the message body
      `attachFile` - boolean value if true file content is attached to the mail
      `preferredFormat` - string value for the content format type to attach
      `altFileAttachment` - object for the alternative file attachment
    Throws:
      `Exception`
    Since:
      4.2.0