Play.configuration.getProperty("mail.smtp") 这个是读取了application.conf文件中的配置 当然,是智能依据 play id 进行读取的。 比如 %test.mail.smtp