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, Date date)
          Send a summary email to a user with content generated with respect to the given date.
 int sendEmailForDate(Date date)
          Send email to any users that have mail enabled for the specific datetime.
 

Method Detail

sendEmailForDate

int sendEmailForDate(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,
                  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–2015 Atlassian. All rights reserved.