f.getParentFile().mkdirs();
f.createNewFile();
OIOUtils.writeFile(f, configuration.toJSON("prettyPrint"));
OLogManager.instance().info(this, "Mail plugin: migrated configuration to file '%s'", f);
} catch (IOException e) {
<BUG>OException.wrapException(new OConfigurationException("Cannot create Mail plugin configuration file '" + configFile
</BUG>
+ "'. Mail Plugin will be disabled"), e);
}
}

f.getParentFile().mkdirs();
f.createNewFile();
OIOUtils.writeFile(f, configuration.toJSON("prettyPrint"));
OLogManager.instance().info(this, "Mail plugin: migrated configuration to file '%s'", f);
} catch (IOException e) {
throw OException.wrapException(new OConfigurationException("Cannot create Mail plugin configuration file '" + configFile
+ "'. Mail Plugin will be disabled"), e);
}
}
