NS_IMETHODIMP nsPop3IncomingServer::CreateDefaultMailboxes()
{
  nsresult rv = CreateLocalFolder(NS_LITERAL_STRING("Inbox"));
  NS_ENSURE_SUCCESS(rv, rv);

  return CreateLocalFolder(NS_LITERAL_STRING("Trash"));
}
NS_IMETHODIMP nsPop3IncomingServer::CreateDefaultMailboxes(nsIFile *aPath)
{
  nsresult rv = CreateLocalFolder(NS_LITERAL_STRING("Inbox"));
  NS_ENSURE_SUCCESS(rv, rv);
  rv = CreateLocalFolder(NS_LITERAL_STRING("Sent"));
  rv = CreateLocalFolder(NS_LITERAL_STRING("Drafts"));
  rv = CreateLocalFolder(NS_LITERAL_STRING("Junk"));
  return CreateLocalFolder(NS_LITERAL_STRING("Trash"));
  return rv;
}
NS_IMETHODIMP
csBlogIncomingServer::CreateDefaultMailboxes(nsIFile *aPath)
{
  NS_ENSURE_ARG_POINTER(aPath);
  nsCOMPtr <nsIFile> path;
  nsresult rv = aPath->Clone(getter_AddRefs(path));
  NS_ENSURE_SUCCESS(rv, rv);

  rv = path->AppendNative(NS_LITERAL_CSTRING("Published"));
  NS_ENSURE_SUCCESS(rv, rv);
  rv = CreateLocalFolder(path, NS_LITERAL_CSTRING("Published"));
  NS_ENSURE_SUCCESS(rv, rv);
  rv = CreateLocalFolder(path, NS_LITERAL_CSTRING("Drafts"));
  NS_ENSURE_SUCCESS(rv, rv);

  return CreateLocalFolder(path, NS_LITERAL_CSTRING("Trash"));
}