Download the PHP package satis/incomingmail without Composer

On this page you can find all versions of the php package satis/incomingmail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package incomingmail

Satis Incoming Mail

Installation

Publish the package

Once published, you will have access to a controller IncomingMail/IncomingMailController.php which allows you to customize the mail registration function. Also a config is generated in config/incoming_mail.php.

Project configuration

Access the configuration in config/incoming_mail.php to make your changes.

For app_login_params you can for example use :

if these are the fields you need for the connection to your project

Subscription to the incoming mails service

After the configuration, perform the subscription to the incoming mails service with the following command:

From this moment your project receives unread mails every 1 minute and records them in your database

GeneralMail or ClaimMail

You have the possibility to save the mails in a classic table (GeneralMail) or to do it as a claim (ClaimMail)

GeneralMail

By default your project is configured to save mail in a classic table that you have defined in the config/incoming_mail.php file. You can override this function by adding other attributes

or change the logic of the code :

ClaimMail

To use the register as claim, please comment out the Use GeneralMail line and uncomment the Use ClaimMail line. The registration of mail in the form of claim is done the table definite in the config as the GeneralMail with the difference that in this case you must have a table identities that will contain the information of a claimer (You must have the attributes related to the following config: 'first_name' , 'last_name' , 'email' ) and a table files for the registration of attachments with new fields (title, url, attachmentable_id, attachmentable_type )

or change the logic of the code

API URL

Add this link in your api route

API subscribe link for incoming mail service

Put env api link subscribe mail with this variable


All versions of incomingmail with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package satis/incomingmail contains the following files

Loading the files please wait ....