public class MailEJB extends Object
| Constructor and Description |
|---|
MailEJB() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentUserLogin()
Get the login of the current user
|
void |
sendConfirmationEmail(es.uvigo.esei.dgss.lettab.domain.User u,
String subject,
String body)
Send a confirmation email to the user in order to register himself
|
public String getCurrentUserLogin()
@PermitAll public void sendConfirmationEmail(es.uvigo.esei.dgss.lettab.domain.User u, String subject, String body)
u - The user receiver of the emailsubject - The subject of the emailbody - The text of the emailCopyright © 2016. All rights reserved.