The Email engine reads the messages of a mailbox over IMAP or POP3 and turns them into items. Use it to post by email: send a message to a dedicated address and it becomes an article.
It needs the PHP IMAP extension. PHP 8.4 no longer includes it; ask your host or install it from PECL.
Output fields [oe]
| Field | Value |
|---|---|
subject |
The subject |
date |
The date the message was sent |
body |
The message text, as HTML when the message has it |
from |
The sender |
to |
The recipient |
Basic tab
- Host: the IMAP or POP3 server, such as
imap.gmail.com. - Port: such as
993for IMAP over SSL. Leave empty to detect it. - Username: the full mailbox login, usually the email address.
- Password: the mailbox password. Many providers, Gmail among them, need an app password here instead of your normal password.
Advanced tab
- Limit: the most messages read per run. Default 50.
- Protocol: imap or pop3.
- SSL: the security flags your provider asks for, such as
/ssl,/tlsor/ssl/novalidate-cert. - Offset: where to start. A positive number reads the newest messages first, starting from that message (5 starts at the 5th); a negative number reads older messages first. Default 0.
- Display Images: put the message images into the body as base64 data.
- Store Attachments and Save Attachments to: save the attachments in a folder of your site. Default
images/joomgrabber/attachments. - Convert Subject to UTF8: on by default. Turn it off only if subjects come out wrong.
- From Emails to exclude: senders to skip, separated by commas.
- From Emails to Include: only read messages from these senders. Use it so that not everyone who knows the address can post.
Gmail settings
| Setting | Value |
|---|---|
| Host | imap.gmail.com |
| Port | 993 |
| Protocol | imap |
| SSL | /ssl |
| Password | an app password from your Google account |
Tips
- Use a mailbox only for posting, and fill From Emails to Include.
- Set the adapter to save unpublished items if an editor should check them first.
- The adapter's duplicate check skips messages that were already imported.