Update config examples to show iCloud and custom SMTP instead of Gmail

This commit is contained in:
Kacper Kwapisz
2026-03-23 14:24:29 +01:00
parent 2f7853f2bf
commit 81945732d1
2 changed files with 31 additions and 19 deletions
+19 -9
View File
@@ -29,21 +29,31 @@ webhook_url: https://poke.com/api/v1/inbound-sms/webhook
poke_api_key: your-api-key # from https://poke.com/settings/advanced poke_api_key: your-api-key # from https://poke.com/settings/advanced
accounts: accounts:
- id: work # iCloud Mail — login is @icloud.com, send as your custom domain
imap_host: imap.gmail.com - id: icloud
imap_port: 993 imap_host: imap.mail.me.com
imap_username: you@gmail.com imap_username: you@icloud.com
imap_password: your-app-password imap_password: your-app-password
smtp_host: smtp.gmail.com smtp_host: smtp.mail.me.com
smtp_port: 587 smtp_username: you@icloud.com
smtp_username: you@gmail.com
smtp_password: your-app-password smtp_password: your-app-password
from_address: you@customdomain.com # optional — override From: header (useful for iCloud with custom domains) from_address: you@yourdomain.com # optional — override From: header
watch_folders:
- INBOX
# Custom SMTP server
- id: work
imap_host: imap.example.com
imap_username: you@example.com
imap_password: your-password
smtp_host: smtp.example.com
smtp_username: you@example.com
smtp_password: your-password
watch_folders: watch_folders:
- INBOX - INBOX
``` ```
For Gmail, use an [App Password](https://support.google.com/accounts/answer/185833). For iCloud, generate an [App-Specific Password](https://support.apple.com/en-us/102654).
### 2. Install dependencies ### 2. Install dependencies
+12 -10
View File
@@ -12,25 +12,27 @@ poke_api_key: "your-api-key-here"
allow_send: true allow_send: true
accounts: accounts:
# Minimal — SMTP falls back to IMAP host/credentials # iCloud Mail — login is @icloud.com, send as your custom domain
- id: personal # Generate an App-Specific Password: https://support.apple.com/en-us/102654
imap_host: imap.gmail.com - id: icloud
imap_port: 993 imap_host: imap.mail.me.com
imap_username: "you@gmail.com" imap_username: "you@icloud.com"
imap_password: "your-app-password" imap_password: "your-app-password"
smtp_host: smtp.mail.me.com
smtp_username: "you@icloud.com"
smtp_password: "your-app-password"
from_address: "you@yourdomain.com" # Override From: header (login is @icloud.com but send as custom domain)
watch_folders: watch_folders:
- INBOX - INBOX
# Full — separate SMTP settings (only if different from IMAP) # Custom SMTP server — SMTP falls back to IMAP credentials if not specified
# - id: work # - id: work
# imap_host: imap.example.com # imap_host: imap.example.com
# imap_port: 993
# imap_username: "you@example.com" # imap_username: "you@example.com"
# imap_password: "imap-password" # imap_password: "your-password"
# smtp_host: smtp.example.com # smtp_host: smtp.example.com
# smtp_port: 587 # smtp_port: 587
# smtp_username: "you@example.com" # smtp_username: "you@example.com"
# smtp_password: "smtp-password" # smtp_password: "your-password"
# from_address: "you@customdomain.com" # Override From: header (e.g. iCloud login is @icloud.com but you send as custom domain)
# watch_folders: # watch_folders:
# - INBOX # - INBOX