Skip to content

Email Configuration

FoxDesk can both send and receive emails. When you reply to a ticket, FoxDesk sends the message straight to your customer's inbox. And when a customer emails you, FoxDesk can turn that email into a new ticket — or add it to an existing one — automatically.

Go to Settings → Email in the FoxDesk dashboard. Enter your email server details — the same information you'd use to set up an account in Outlook or Gmail (server address, port, username, password, and encryption type like TLS or SSL).

When you're done, click Test SMTP to verify that everything is connected and working.

Want customers to create tickets just by sending an email? Enable the email-to-ticket feature by adding these lines to your config.php file:

define('IMAP_ENABLED', true);
define('IMAP_HOST', 'imap.example.com');
define('IMAP_PORT', 993);
define('IMAP_ENCRYPTION', 'ssl');
define('IMAP_USERNAME', '[email protected]');
define('IMAP_PASSWORD', 'SecureInbox234');

Once enabled, FoxDesk checks for new emails automatically using a scheduled background task (see Cron Jobs).

By default, FoxDesk only creates tickets from email addresses you've already added as contacts. To accept emails from anyone, set IMAP_ALLOW_UNKNOWN_SENDERS to true in your config.php. Keep it false if you want to avoid spam.