With the recent changes to the namespace names (from URL to Python
package), I have found the following to work, when defining my
"personal" parcel containing IMAP/WebDAV accounts:
(This example is also at: http://wiki.osafoundation.org/bin/view/
Projects/ParcelLoading . Make sure the "personal" directory
containing this parcel.xml also has an __init__.py in there.)
<?xml version="1.0" encoding="iso-8859-1"?>
<Parcel itsName="personal"
xmlns="parcel:core"
xmlns:mail="parcel:osaf.contentmodel.mail"
xmlns:current="parcel:osaf.current"
xmlns:sharing="parcel:osaf.framework.sharing"
xmlns:this="parcel:personal"
>
<mail:IMAPAccount itsName="MyIMAPAccount">
<displayName value="Personal IMAP"/>
<host value="__hostname__"/>
<username value="__user__"/>
<password value="__password__"/>
<connectionSecurity value="NONE"/>
<defaultSMTPAccount itemref="this:MySMTPAccount"/>
<replyToAddress itemref="this:MyEmailAddress"/>
<currentItemOf itemref="current:MailAccount"/>
</mail:IMAPAccount>
<mail:SMTPAccount itsName="MySMTPAccount">
<displayName value="Personal SMTP"/>
<host value="__hostname__"/>
<username value="__user__"/>
<password value="__password__"/>
<useAuth value="True"/>
<port value="25"/>
<currentItemOf itemref="current:SMTPAccount"/>
</mail:SMTPAccount>
<mail:EmailAddress itsName="MyEmailAddress">
<displayName value="Personal Email Address"/>
<emailAddress value="[EMAIL PROTECTED]"/>
<fullName value="__first__ __last__"/>
</mail:EmailAddress>
<sharing:WebDAVAccount itsName="MyDAVAccount">
<displayName value="Personal WebDAV"/>
<host value="__hostname__"/>
<path value="__/path/__"/>
<username value="__username__"/>
<password value="__password__"/>
<useSSL value="False"/>
<port value="80"/>
<currentItemOf itemref="current:WebDAVAccount"/>
</sharing:WebDAVAccount>
</Parcel>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev