Class FeedbackServiceImpl

java.lang.Object
org.dspace.content.FeedbackServiceImpl
All Implemented Interfaces:
FeedbackService

public class FeedbackServiceImpl extends Object implements FeedbackService
Implementation of FeedbackService interface. It is responsible for sendint a feedback email with content a DSpace user fills from feedback section of DSpace.
  • Constructor Details

    • FeedbackServiceImpl

      public FeedbackServiceImpl()
  • Method Details

    • sendEmail

      public void sendEmail(Context context, jakarta.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page) throws IOException, jakarta.mail.MessagingException
      Description copied from interface: FeedbackService
      This method sends the feedback email to the recipient passed as parameter
      Specified by:
      sendEmail in interface FeedbackService
      Parameters:
      context - current DSpace application context
      request - current servlet request
      recipientEmail - recipient to which mail is sent
      senderEmail - email address of the sender
      message - message body
      page - page from which user accessed and filled feedback form
      Throws:
      IOException
      jakarta.mail.MessagingException