Mail Api for fetch or send mails

Overview

flux-mail-api

Mail Api for fetch or send mails

Installation

Native

Download

RUN (mkdir -p /%path%/libs/flux-mail-api && cd /%path%/libs/flux-mail-api && wget -O - https://github.com/fluxfw/flux-mail-api/releases/download/%tag%/flux-mail-api-%tag%-build.tar.gz | tar -xz --strip-components=1)

or

Download https://github.com/fluxfw/flux-mail-api/releases/download/%tag%/flux-mail-api-%tag%-build.tar.gz and extract it to /%path%/libs/flux-mail-api

Load

require_once __DIR__ . "/%path%/libs/flux-mail-api/autoload.php";

Composer

{
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "flux/flux-mail-api",
                "version": "%tag%",
                "dist": {
                    "url": "https://github.com/fluxfw/flux-mail-api/releases/download/%tag%/flux-mail-api-%tag%-build.tar.gz",
                    "type": "tar"
                },
                "autoload": {
                    "files": [
                        "autoload.php"
                    ]
                }
            }
        }
    ],
    "require": {
        "flux/flux-mail-api": "*"
    }
}

Environment variables

Variable Description Default value
FLUX_MAIL_API_MAIL_HOST Mail server host name -
FLUX_MAIL_API_MAIL_PORT Mail server port -
FLUX_MAIL_API_MAIL_TYPE Mail server type
imap, pop3 or nntp
-
FLUX_MAIL_API_MAIL_USER_NAME Mail user name
Use FLUX_MAIL_API_MAIL_USER_NAME_FILE for docker secrets
-
FLUX_MAIL_API_MAIL_PASSWORD Mail password
Use FLUX_MAIL_API_MAIL_PASSWORD_FILE for docker secrets
-
FLUX_MAIL_API_MAIL_ENCRYPTION_TYPE Type to encrypt the connection to the server
ssl, tls or tls-auto
-
FLUX_MAIL_API_MAIL_BOX Mail box path INBOX
FLUX_MAIL_API_MAIL_MARK_AS_READ Mark fetched mails as read true
FLUX_MAIL_API_SMTP_HOST SMTP server host name -
FLUX_MAIL_API_SMTP_PORT SMTP server port -
FLUX_MAIL_API_SMTP_FROM From email address -
FLUX_MAIL_API_SMTP_FROM_NAME From name -
FLUX_MAIL_API_SMTP_ENCRYPTION_TYPE Type to encrypt the connection to the server
ssl, tls or tls-auto
-
FLUX_MAIL_API_SMTP_USER_NAME SMTP user name
Use FLUX_MAIL_API_SMTP_USER_NAME_FILE for docker secrets
-
FLUX_MAIL_API_SMTP_PASSWORD SMTP password
Use FLUX_MAIL_API_SMTP_PASSWORD_FILE for docker secrets
-
FLUX_MAIL_API_SMTP_AUTH_TYPE Type to authenticate on the server
PLAIN, LOGIN, CRAM-MD5 or XOAUTH2
(Auto detect)

Minimal variables required to set are bold

Example

Look at flux-mail-rest-api

You might also like...
đź’Ś Mail app for Nextcloud
đź’Ś Mail app for Nextcloud

Nextcloud Mail 💌 A mail app for Nextcloud Why is this so awesome? 🚀 Integration with other Nextcloud apps! Currently Contacts, Calendar & Files – mo

Crud PHP 8 com Form E-mail
Crud PHP 8 com Form E-mail

Crud com PHP 8 PDO Login - Cadastro de Usuários - Edição - Deleção - Adição | Formulário envio de e-mail Para rodar o Crud é preciso instalar um servi

 Mail Web is a Laravel package which catches emails locally for debugging
Mail Web is a Laravel package which catches emails locally for debugging

Mail Web is a Laravel package which catches emails locally for debugging Installation Use the package manager composer to install Mail Web. composer r

Simple mail sending by PHPMailer and Create your local system.

Simple mail sending by PHPMailer and Create your local system. Send mail zero of cost and also send Attachment like Photo, pdf and multiple files. You should be create a login and verify two steps authentication like OTP, verifications đź”— link. PHPMailer make your dreams project eassy and simple also free of cost.

A testing package for intercepting mail sent from Laravel
A testing package for intercepting mail sent from Laravel

Laravel Mail Intercept A testing package for intercepting mail sent from Laravel This testing suite intercepts Laravel Mail just before they are sent

Mail application developed with Symfony 5

Fakey-Mail Mail application developed with Symfony 5! Check out the requirements for info on how to launch the app. Check out the basic functionality

✉️ Laravel Mail Explorer
✉️ Laravel Mail Explorer

Mailbook Mailbook is a Laravel package that lets you easily inspect your mails without having to actually trigger it in your application. View demo In

Mandrill mail driver for Laravel for version 6+

Laravel Mandrill Driver This package re-enables Mandrill driver functionality using the Mail facade in Laravel 6+. To install the package in your proj

Send email across all platforms using one interface

Send email across all platforms using one interface. Table Of Content Requirements Installation Providers AmazonSES Mailgun Mailjet Mandrill Postmark

Releases(v2022-12-12-1)
Owner
null
SlmMail is a module that integrates with various third-parties API to send mails. Integration is provided with the API of those services

SlmMail is a module that integrates with various third-parties API to send mails. Integration is provided with the API of those services

Webador 107 Dec 14, 2022
A mail driver to quickly preview mail

A mail driver to quickly preview mail This package can display a small overlay whenever a mail is sent. The overlay contains a link to the mail that w

Spatie 1k Jan 4, 2023
Fetch is a library for reading email and attachments, primarily using the POP and IMAP protocols

Fetch Fetch is a library for reading email and attachments, primarily using the POP and IMAP protocols. Installing N.b. A note on Ubuntu 14.04 (probab

Tedious Developments 501 Jan 4, 2023
Bounce Mail Handler for PHP | This is a "reboot" of PHPMailer-BMH from WorxWare.

PHP 7.0+ Support Composer & PSR-0 Support PHPUnit testing via Travis CI (TODO: more tests needed) PHP-Quality testing via SensioLabsInsight (TODO: mor

Lars Moelleken 43 Jan 7, 2023
:envelope: E-Mail Address Validator (syntax, dns, trash, typo)

✉️ E-Mail Address Validator for PHP Warning The best way to validate an e-mail address is still to send a duplicate opt-in-mail, when the user clicks

Lars Moelleken 41 Dec 25, 2022
Mail sending module for Mezzio and Laminas MVC with support for file attachment and template email composition

This module provides an easy and flexible way to send emails from Mezzio and Laminas MVC applications (formerly known as Zend Expressive and Zend MVC). It allows you to pre-configure emails and transports, and then send those emails at runtime.

null 82 Jan 16, 2022
Laravel Mail Credentials switcher for Budget Laravel Applications

Laravel Mail Switcher Laravel Mail Credentials Switcher is a library which helps you to: Manage your Mail Service Credentials Configure the Laravel's

(Seth) Phat Tran 34 Dec 24, 2022
PostfixAdmin - web based virtual user administration interface for Postfix mail servers

PostfixAdmin An open source, web based interface for managing domains/mailboxes/aliases etc on a Postfix based mail server.

PostfixAdmin 755 Jan 3, 2023
Laravel Mail Catcher Driver

Laravel Mail Catcher Driver This package include a new mailbase driver which will catch all the sent emails and save it to the database. It then expos

Tauqeer Liaqat 94 Aug 30, 2022
Provides a clean and simple way to configure the WordPress-bundled PHPMailer library, allowing you to quickly get started sending mail through a local or cloud based service of your choice

WP PHPMailer provides a clean and simple way to configure the WordPress-bundled PHPMailer library, allowing you to quickly get started sending mail through a local or cloud based service of your choice.

Itineris Limited 61 Dec 6, 2022