public static interface

MailServerAdministration.SmtpMailServerAdministration

com.atlassian.jira.functest.framework.admin.MailServerAdministration.SmtpMailServerAdministration

Class Overview

Represents the Smtp Mail Server Panel in the Mail Servers Administration Page.

Summary

Public Methods
MailServerAdministration add(String name, String fromAddress, String emailPrefix, String hostName)
Adds a new SMTP Server Configuration
void enable()
MailServerAdministration.MailServerConfiguration get()
Gets the current Smtp Mail Server configuration.
MailServerAdministration.SmtpMailServerAdministration goTo()
Navigates to the Mail Servers Administration Page.
boolean isConfigured()
Determines whether an SMTP Server has been configured.
boolean isDisabled()
boolean isEnabled()
boolean isPresent()
Determines whether the Smtp Mail Server Administration Panel is on the page.
MailServerAdministration.SendTestEmail sendTestEmail()

Public Methods

public MailServerAdministration add (String name, String fromAddress, String emailPrefix, String hostName)

Adds a new SMTP Server Configuration

Parameters
name The name of this server within JIRA.
fromAddress The default address this server will use to send emails from.
emailPrefix The prefix for all outgoing email subjects.
hostName The SMTP host name of your mail server.
Returns
  • this instance of the mail servers administration page.

public void enable ()

public MailServerAdministration.MailServerConfiguration get ()

Gets the current Smtp Mail Server configuration.

Returns
  • the current Smtp Mail Server configuration. If there is no configured mail server null is returned.

public MailServerAdministration.SmtpMailServerAdministration goTo ()

Navigates to the Mail Servers Administration Page.

Returns
  • this instance of the page.

public boolean isConfigured ()

Determines whether an SMTP Server has been configured.

Returns
  • true if an Smtp Server has been configured; otherwise, false.

public boolean isDisabled ()

public boolean isEnabled ()

public boolean isPresent ()

Determines whether the Smtp Mail Server Administration Panel is on the page.

Returns
  • true if the Smtp Mail Server Administration Panel is on the page; otherwise, false.

public MailServerAdministration.SendTestEmail sendTestEmail ()