Package org.dspace.content
Class FeedbackServiceImpl
java.lang.Object
org.dspace.content.FeedbackServiceImpl
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
-
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:FeedbackServiceThis method sends the feedback email to the recipient passed as parameter- Specified by:
sendEmailin interfaceFeedbackService- Parameters:
context- current DSpace application contextrequest- current servlet requestrecipientEmail- recipient to which mail is sentsenderEmail- email address of the sendermessage- message bodypage- page from which user accessed and filled feedback form- Throws:
IOExceptionjakarta.mail.MessagingException
-