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 Detail

      • sendEmail

        void sendEmail​(Context context,
                       javax.servlet.http.HttpServletRequest request,
                       String recipientEmail,
                       String senderEmail,
                       String message,
                       String page)
                throws IOException,
                       javax.mail.MessagingException
        This method sends the feeback 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
        javax.mail.MessagingException