solvecase/sentmaillogger

Save a copy of laravel sent email in imap sent folder.

v1.0.0 2023-12-08 04:03 UTC

This package is auto-updated.

Last update: 2024-09-08 05:34:58 UTC


README

Latest Version on Packagist Total Downloads

Save a copy of laravel sent email in imap sent folder.

Take a look at contributing.md to see a to do list.

Installation

Via Composer

composer require solvecase/sentmaillogger

Prerequisite

  • laravel-framework >=9

  • php-imap extension

Configuration

LOG_SENT_MESSAGE=true
LOG_ON_QUEUE=true
IMAP_PORT=993
IMAP_PROTOCOL="imap"
IMAP_ENCRYPTION="ssl"
IMAP_FOLDER="Sent"
IMAP_VALIDATE_CERT=true
IMAP_HOST="your-mail-host.com"
IMAP_USERNAME="email@example.com"
IMAP_PASSWORD="********"

LOG_SENT_MESSAGE enable/disable sent mail logger

LOG_ON_QUEUE implements Illuminate\Contracts\Queue\ShouldQueue

IMAP_FOLDER folder to be appended sent mail.

IMAP_PROTOCOL

  • imap — Use IMAP [default]
  • pop3 — Use POP3
  • nntp — Use NNTP

IMAP_ENCRYPTION

  • false — Disable encryption
  • ssl — Use SSL [default]
  • tls — Use TLS
  • starttls — Use STARTTLS
  • notls — Use NoTLS

IMAP_VALIDATE_CERT validate certificates from TLS/SSL server

See more information on PHP-IMAP

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email support@solvecase.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.