prepare("SELECT `name` FROM `mailbox` WHERE `username`= :username");
$stmt->execute(array(':username' => $username));
$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;
}
?>
Client Configuration Guide
Select your email client or operating system below to view a step-by-step guide to setting up your email account.
- Download and open Mailcow.mobileconfig.
- Enter the unlock code (iPhone) or computer password (Mac).
- Enter your email password three times when prompted.
On iOS, Exchange is also supported as an alternative to the procedure above. It has the advantage of supporting push email (i.e. you are immediately notified of incoming messages), but has some limitations, e.g. it does not support more than three email addresses per contact in your address book. Follow the steps below if you decide to use Exchange instead.
- Open the Settings app, tap Mail, tap Accounts, tap Add Acccount, select Exchange.
- Enter your email address (
) and tap Next.
- Enter your password, tap Next again.
- Finally, tap Save.
- Open the Email app.
- If this is your first email account, tap Add Account; if not, tap More and Settings and then Add account.
- Select Microsoft Exchange ActiveSync.
- Enter your email address (
) and password.
- Tap Sign in.
- Launch eM Client.
- If this is the first time you launched eM Client, it asks you to set up your account. Proceed to step 4.
- Go to Menu at the top, select Tools and Accounts.
- Enter your email address (
) and click Start Now.
- Enter your password and click Continue.
- Enter your name (
) and click Next.
- Click Finish.
- Launch Kontact.
- If this is the first time you launched Kontact or KMail, it asks you to set up your account. Proceed to step 4.
- Go to Mail in the sidebar. Go to the Tools menu and select Account Wizard.
- Enter your name (
), email address (
) and your password. Click Next.
- Click Create Account. If prompted, re-enter your password and click OK.
- Close the window by clicking Finish.
- Go to Calendar in the sidebar.
- Go to the Settings menu and select Configure KOrganizer.
- Go to the Calendars tab and click the Add button.
- Choose DAV groupware resource and click OK.
- Enter your email address (
) and your password. Click Next.
- Select ScalableOGo from the dropdown menu and click Next.
- Enter
= $autodiscover_config['caldav']['server']; ?>
into the Host field and click Next.
- Click Test Connection and then Finish. Finally, click OK twice.
Once you have set up Kontact, you can also use KMail, KOrganizer and KAddressBook individually.
Outlook 2013 or higher on Windows
- Launch Outlook.
- If this is the first time you launched Outlook, it asks you to set up your account. Proceed to step 4.
- Go to the File menu and click Add Account.
- Enter your name (
), email address (
) and your password. Click Next.
- When prompted, enter your password again, check Remember my credentials and click OK.
- Click the Allow button.
- Click Finish.
Outlook 2007 or 2010 on Windows
Outlook 2007 or higher on Windows
- Download and install Outlook CalDav Synchronizer.
- Launch Outlook.
- If this is the first time you launched Outlook, it asks you to set up your account. Proceed to step 5.
- Go to the File menu and click Add Account.
- Enter your name (
), email address (
) and your password. Click Next.
- Click Finish.
- Go to the CalDav Synchronizer ribbon, click Synchronization Profiles.
- Click the second button at top (Add multiple profiles), select Sogo, click Ok.
- Click the Get IMAP/POP3 account settings button.
- Click Discover resources and assign to Outlook folders.
- In the Select Resource window that pops up, select your main calendar (usually Personal Calendar), click the ... button, assign it to Calendar, and click OK. Go to the Address Books and Tasks tabs and repeat repeat the process accordingly. Do not assign multiple calendars, address books or task lists!
- Close all windows with the OK buttons.
Outlook 2011 or higher on macOS
The Mac version of Outlook does not synchronize calendars and contacts and therefore is not supported.
- Launch Thunderbird.
- If this is the first time you launched Thunderbird, it asks you whether you would like a new email address. Click Skip this and use my existing email and proceed to step 4.
- Go to the Tools menu and select Account Settings.
- Click the Account Actions dropdown menu at the bottom left and select Add Mail Account.
- Enter your name (
), email address (
) and your password. Make sure the Remember password checkbox is selected and click Continue.
- Once the configuration has been automatically detected, click Done.
- If you already had other accounts configured in Thunderbird, select the new one () on the left, click the Account Actions dropdown and select Set as Default.
- Close the account settings window with the OK button.
- In your web browser, download SOGo Integrator.
- Back in Thunderbird, go to the Tools menu and select Add-ons.
- Click Extensions on the left, click the little gear icon at the top and select Install Add-on From File. Select the file you downloaded in step 9, click Open and, after waiting for a few seconds, Install Now.
- Click the Restart Now button at the top that appears.
- Thunderbird briefly shows a message that it is updating extensions, then restarts automatically once more.
- When you are prompted to authenticate for = $autodiscover_config['caldav']['server']; ?>, enter your email address and password, check Use Password Manager and click OK.
- Open the Mail app.
- If you have not previously used Mail, you can click Add Account in the main window. Proceed to step 4.
- Click Accounts in the sidebar on the left, then click Add Account on the far right.
- Select Exchange.
- Enter your email address (
) and click Next.
- Enter your password and click Log in.
Once you have set up the Mail app, you can also use the People and Calendar apps.
- Open the Settings app. Select email + accounts and tap add an account.
- Tap Exchange.
- Enter your email address (
) and your password. Tap Sign in.
- Tap done.