Last week I mentioned there was a new way to determine what the default WebDAV account was. The same method is now being applied to finding IMAP and SMTP accounts, so those with a personal parcel need to make similar changes. Where before there was an 'isDefault' attribute, you should now instead assign to the 'currentItemOf' attribute as indicated below:


<Parcel itsName="personal"
xmlns="http://osafoundation.org/parcels/core";
xmlns:mail="http://osafoundation.org/parcels/osaf/contentmodel/mail";
xmlns:current="http://osafoundation.org/parcels/osaf/current";
xmlns:sharing="http://osafoundation.org/parcels/osaf/framework/sharing";
xmlns:this="http://morgen.com/personal";
>


    <namespace value="http://morgen.com/personal"; />

    <sharing:WebDAVAccount itsName="MyDAVAccount">
        <displayName value="Personal WebDAV Account"/>
        <host value="pilikia.osafoundation.org"/>
        <path value="dev1"/>
        <username value="dev1"/>
        <password value="xxxxxxxx"/>
        <useSSL value="False"/>
        <port value="80"/>
        <currentItemOf itemref="current:WebDAVAccount"/>
    </sharing:WebDAVAccount>

<mail:IMAPAccount itsName="MyIMAPAccount">
<displayName value="Personal IMAP Account"/>
<host value="localhost"/>
<username value="morgen"/>
<password value="xxxxxxxx"/>
<useSSL value="False"/>
<port value="143"/>
<defaultSMTPAccount itemref="this:MySMTPAccount"/>
<replyToAddress itemref="this:MyEmailAddress"/>
<currentItemOf itemref="current:IMAPAccount"/> <!-- Changed -->
</mail:IMAPAccount>


<mail:SMTPAccount itsName="MySMTPAccount">
<displayName value="Personal SMTP Account"/>
<host value="localhost"/>
<username value="morgen"/>
<password value="xxxxxxxxx"/>
<useAuth value="False"/>
<useSSL value="False"/>
<port value="25"/>
<currentItemOf itemref="current:SMTPAccount"/> <!-- Changed -->
</mail:SMTPAccount>


    <mail:EmailAddress itsName="MyEmailAddress">
        <displayName value="Personal Email Address"/>
        <emailAddress value="[EMAIL PROTECTED]"/>
        <fullName value="Morgen Sagen"/>
    </mail:EmailAddress>

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to