Interface FeedbackService

All Known Implementing Classes:
FeedbackServiceImpl

public interface FeedbackService
Service interface class for the Feedback object.
Author:
Mykhaylo Boychuk (mykhaylo.boychuk@4science.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendEmail(Context context, jakarta.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page)
    This method sends the feedback email to the recipient passed as parameter
  • Method Details

    • sendEmail

      void sendEmail(Context context, jakarta.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page) throws IOException, jakarta.mail.MessagingException
      This method sends the feedback email to the recipient passed as parameter
      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