prepare("SELECT `name` FROM `mailbox` WHERE `username`= :username"); $stmt->execute(array(':username' => $email)); $MailboxData = $stmt->fetch(PDO::FETCH_ASSOC); $displayname = empty($MailboxData['name']) ? $email : $MailboxData['name']; } catch(PDOException $e) { $displayname = $email; } if (isset($_GET['only_email'])) { $onlyEmailAccount = true; $description = 'IMAP'; } else { $onlyEmailAccount = false; $description = 'IMAP, CalDAV, CardDAV'; } echo '' . "\n"; ?> PayloadContent EmailAccountDescription EmailAccountType EmailTypeIMAP EmailAccountName EmailAddress IncomingMailServerAuthentication EmailAuthPassword IncomingMailServerHostName IncomingMailServerPortNumber IncomingMailServerUseSSL IncomingMailServerUsername OutgoingMailServerAuthentication EmailAuthPassword OutgoingMailServerHostName OutgoingMailServerPortNumber OutgoingMailServerUseSSL OutgoingMailServerUsername OutgoingPasswordSameAsIncomingPassword PayloadDescription Configures email account. PayloadDisplayName IMAP Account () PayloadIdentifier .email PayloadOrganization PayloadType com.apple.mail.managed PayloadUUID PayloadVersion 1 PreventAppSheet PreventMove SMIMEEnabled CalDAVAccountDescription CalDAVHostName CalDAVPort CalDAVPrincipalURL /SOGo/dav/ CalDAVUseSSL CalDAVUsername PayloadDescription Configures CalDAV account. PayloadDisplayName CalDAV () PayloadIdentifier .CalDAV PayloadOrganization PayloadType com.apple.caldav.account PayloadUUID PayloadVersion 1 CardDAVAccountDescription CardDAVHostName CardDAVPort CardDAVPrincipalURL /SOGo/dav/ CardDAVUseSSL CardDAVUsername PayloadDescription Configures CardDAV accounts PayloadDisplayName CardDAV () PayloadIdentifier .carddav PayloadOrganization PayloadType com.apple.carddav.account PayloadUUID PayloadVersion 1 PayloadDescription PayloadDisplayName PayloadIdentifier PayloadOrganization PayloadRemovalDisallowed PayloadType Configuration PayloadUUID PayloadVersion 1