Move SendEmailUtils to the /ui/server directory

SendEmailUtils is a general utility of the web console, and not specifically "only"
to the Registrar console.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=226187094
This commit is contained in:
guyben 2018-12-19 09:42:22 -08:00 committed by Michael Muller
parent 56b61ad5a2
commit 51f22a15ed
8 changed files with 78 additions and 32 deletions

View file

@ -509,7 +509,7 @@ public final class RegistryConfig {
/**
* The email address that outgoing emails from the app are sent from.
*
* @see google.registry.ui.server.registrar.SendEmailUtils
* @see google.registry.ui.server.SendEmailUtils
*/
@Provides
@Config("gSuiteOutgoingEmailAddress")
@ -520,10 +520,10 @@ public final class RegistryConfig {
/**
* The display name that is used on outgoing emails sent by Nomulus.
*
* @see google.registry.ui.server.registrar.SendEmailUtils
* @see google.registry.ui.server.SendEmailUtils
*/
@Provides
@Config("gSuiteOutoingEmailDisplayName")
@Config("gSuiteOutgoingEmailDisplayName")
public static String provideGSuiteOutgoingEmailDisplayName(RegistryConfigSettings config) {
return config.gSuite.outgoingEmailDisplayName;
}