com.atlassian.confluence.plugins.dailysummary.components
Interface SummaryEmailService

All Known Implementing Classes:
DefaultSummaryEmailService

public interface SummaryEmailService


Method Summary
 boolean sendEmail(com.atlassian.user.User user, java.util.Date date)
          Send a summary email to a user with content generated with respect to the given date.
 int sendEmailForDate(java.util.Date date)
          Send email to any users that have mail enabled for the specific datetime.
 

Method Detail

sendEmailForDate

int sendEmailForDate(java.util.Date date)
Send email to any users that have mail enabled for the specific datetime. Content is generated with respect to the given date and the users preferences for the period of time that they would like to receive the email (weekly or daily)

Parameters:
date -
Returns:
the number of emails processed successfully

sendEmail

boolean sendEmail(com.atlassian.user.User user,
                  java.util.Date date)
Send a summary email to a user with content generated with respect to the given date.

The email is not sent if there is no content available for the user.

Parameters:
user -
date -
Returns:
true if the email was sent


Copyright © 2003-2014 Atlassian. All Rights Reserved.