Email Settings
Configure the sender name and email address used on all outgoing email from Pubvana.
TL;DR
Go to Admin → Settings → Email. Set the From Name and From Email that appear as the sender on contact form responses and admin notifications. SMTP transport is configured separately in .env or app/Config/Email.php.
Details
From Name
The display name that appears in the "From" field of outgoing email. For example, if you set this to Acme Blog, recipients will see Acme Blog <hello@acme.com> in their email client.
From Email
The email address used as the sender for all outgoing mail. This address:
- Receives contact form submissions (the contact form sends its contents to this address).
- Appears as the reply-to address on notification emails.
Use an address you control and that is authorised to send email from your domain to avoid spam filtering issues.
SMTP / Transport Configuration
The From Name and From Email settings only control the sender identity. The underlying mail transport (how email is actually sent) is configured separately:
Option 1: .env file
email.SMTPHost = smtp.example.com
email.SMTPUser = user@example.com
email.SMTPPass = yourpassword
email.SMTPPort = 587
email.SMTPCrypto = tls
email.protocol = smtp
Option 2: app/Config/Email.php
Edit the $SMTPHost, $SMTPUser, $SMTPPass, $SMTPPort, and $protocol properties directly in the config class.
Emails Sent by Pubvana
The following system events send email using these settings:
| Event | Recipient | Description |
|---|---|---|
| Contact form submitted | From Email address | A copy of the visitor's contact message |
| Update available | From Email address | Admin notification when a new Pubvana version is detected (if enabled) |
| Password reset | The user | Shield's built-in forgot-password flow |
| Email verification | The user | Shield's built-in email verification (if enabled) |
Email Provider
New in 2.3.6— Plugins can register as the email delivery handler for the entire site.
When a plugin declaring "core" email capability is active, an Email Provider dropdown appears at the top of Admin → Settings → Email.
| Option | Behaviour |
|---|---|
| Core (default) | Pubvana sends email via PHP mailer using the SMTP settings on this page |
| (Plugin name) | The selected plugin handles all outbound email delivery |
Switching providers takes effect immediately — no restart required. If the active plugin returns false (e.g. it is not yet configured), Pubvana falls through to the core mailer automatically.