I am developing a JIRA plugin, and want to get the SMTP server component. but the mailServer is null. Anyone has idea on this problem? thanks in advance!
import com.atlassian.jira.ComponentManager;
private static MailServerManager mailServerManager = null;
mailServerManager = ComponentManager.getInstance().getMailServerManager();
mailServer = mailServerManager.getDefaultSMTPMailServer();
Is there something need to configured that I missed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.