mailProperties.put(MAIL_FROM, mailFrom);
mailProperties.put(MAIL_DEBUG, (debug ? "true" : "false"));
// Get the properties and save to Property list
Set properties = mailResource.getProperties();
ResourceProperty property = null;
String name = null;
String value = null;
String protRelatedHostName = MAIL_PREFIX + storeProtocol +
MAIL_SUFFIX_HOST;
String protRelatedUserName = MAIL_PREFIX + storeProtocol +
MAIL_SUFFIX_USER;
for (Iterator it = properties.iterator(); it.hasNext();) {
property = (ResourceProperty)it.next();
name = property.getName();
value = (String)property.getValue();
if(name.startsWith(PROP_NAME_PREFIX_LEGACY)) {
name = name.replace(PROP_NAME_DELIM_LEGACY, MAIL_DELIM);
}