prepare("SELECT `name` FROM `mailbox` WHERE `username`= :username"); $stmt->execute(array(':username' => $email)); $MailboxData = $stmt->fetch(PDO::FETCH_ASSOC); } catch(PDOException $e) { die("Failed to determine name from SQL"); } if (!empty($MailboxData['name'])) { $displayname = utf8_encode($MailboxData['name']); } else { $displayname = $email; } echo '' . "\n"; ?> PayloadContent CalDAVAccountDescription CalDAVHostName CalDAVPort CalDAVPrincipalURL /SOGo/dav/ CalDAVUseSSL CalDAVUsername PayloadDescription Configures CalDAV account. PayloadDisplayName CalDAV () PayloadIdentifier .CalDAV PayloadOrganization PayloadType com.apple.caldav.account PayloadUUID FC898573-EBA8-48AF-93BD-BFA0C9778FA7 PayloadVersion 1 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 00294FBB-1016-413E-87B9-652D856D6875 PayloadVersion 1 PreventAppSheet PreventMove SMIMEEnabled CardDAVAccountDescription CardDAVHostName CardDAVPort CardDAVPrincipalURL /SOGo/dav/ CardDAVUseSSL CardDAVUsername PayloadDescription Configures CardDAV accounts PayloadDisplayName CardDAV () PayloadIdentifier .carddav PayloadOrganization PayloadType com.apple.carddav.account PayloadUUID 0797EF2B-B1F1-4BC7-ABCD-4580862252B4 PayloadVersion 1 PayloadDescription IMAP, CalDAV, CardDAV PayloadDisplayName Mailcow PayloadIdentifier PayloadOrganization PayloadRemovalDisallowed PayloadType Configuration PayloadUUID 5EE248C5-ACCB-42D8-9199-8F8ED08D5624 PayloadVersion 1