@Named public class MailServerController extends Object
Constructor and Description |
---|
MailServerController(MailManager mailManager,
I18nHelper i18nHelper,
MailConfigurationService mailConfigurationService) |
Modifier and Type | Method and Description |
---|---|
void |
saveConfiguration(MailServerConfigurationEntity connectionTestData) |
SendTestMailResultEntity |
testMailServer(MailServerConfigurationEntity connectionTestData) |
void |
validateMailConfigurationEntity(MailServerConfigurationEntity connectionTestData) |
@Inject public MailServerController(MailManager mailManager, I18nHelper i18nHelper, MailConfigurationService mailConfigurationService)
public SendTestMailResultEntity testMailServer(MailServerConfigurationEntity connectionTestData) throws MailSendException, OperationFailedException, javax.mail.internet.AddressException
MailSendException
OperationFailedException
javax.mail.internet.AddressException
public void validateMailConfigurationEntity(MailServerConfigurationEntity connectionTestData) throws ValidationFailedException
ValidationFailedException
public void saveConfiguration(MailServerConfigurationEntity connectionTestData) throws ValidationFailedException
ValidationFailedException
Copyright © 2020 Atlassian. All rights reserved.