Outgoing email configuration
You can find this section in HostBill Admin → Settings → General Settings →  Messages → Outgoing mail configuration
Table of contents
- 1 Overview
- 2 Available options
- 2.1.1 Send Emails
- 2.1.2 Email address for system emails
- 2.1.3 Limit mails per cron run
- 2.1.4 Rate limit all mailÂ
- 2.1.5 Name in To headerÂ
- 2.2 Mailer typeÂ
- 2.2.1 Configuring SMTP
- 2.2.2 Password authentication
- 2.2.3 Oauth authentication
Overview
You can allow HostBill to send out emails. If you enable this option, here you to configure email client used to send system emails.
Available options
Send Emails
Define if you want to send out system emails or if you want to block system from sending any emails. If the feature is disabled - it overrides all other settings.
Email address for system emails
Choose which email address will be used as a sender (in 'From'Â field in your emails).
Limit mails per cron run
This option allows to set maximum number of scheduled support ticket notifications HostBill should send per one cron run
Rate limit all mailÂ
This option allows to impose limit above to all emails origination from cron sent per minute
Name in To headerÂ
This option allows you to pick how to address your customers:
First and last name
Company name (if present)
Mailer typeÂ
Choose the type of email client.
PHP mail assumes your server is already preconfigured to send emails with base PHP functions.Â
SMTPÂ - type of email client that allows you to set-up connection with your email account.
Transactional email - you need to have one of the transactional email modules enabled.
Configuring SMTP
SMTP Email Address-Â Enter your email address.
SMTP Hostname / Port -Â This is used for SMTP connection. If you need to connect using specific protocol, prefix your hostname with it, eg. ssl://smtp.example.com, tls://smtp.example.com
Authentication - choose authentication method: Password or Oauth (see below)
Log admin notifications
Limit mails per cron run -Â Set maximum number of email notifications HostBill should send per one cron run.
Password authentication
For configuration enter:
SMTP Username
Password - Used for SMTP connection - access details for that email account.
Oauth authentication
For configuration enter:
Provider - Custom, Google or Microsoft
Client ID
Client secret
Redirect URL
Connection Token
For Custom provider, additionally you need to enter:
Authorize URL
Access Token URL
Resource Owner Details URL