Download the PHP package alexpcooper/newsletters-to-kindle without Composer

On this page you can find all versions of the php package alexpcooper/newsletters-to-kindle. 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 newsletters-to-kindle

Newsletters to Kindle

Uses IMAP to check a mailbox, converts HTML newsletter emails to PDFs and sends them to an Amazon Kindle email address

Latest Stable Version Total Downloads License

Process

  1. Checks a folder in an email inbox, via IMAP
  2. Collects the email and converts it into a PDF
  3. Sends the PDF to Amazon, to convert into an ePub format and place in your Amazon Kindle library
  4. Deletes the email

Installation

Official installation method is via composer and its packagist package alexpcooper/newsletters-to-kindle.

Usage

Debug

As the process of sending an email to a 3rd party (Amazon) is "fire and forget", without any confirmation or failure, there are two optional parameters, in the event of needing to troubleshoot.

Add one or both of these prior to calling checkMail().

Parameters

Parameter Explanation
kindle_email Used to send the PDF email to, so that it goes to your Amazon account
imap settings Used to both check an email directory, such as your inbox, for an email to convert, as well as to send the PDF to Amazon as the FROM address
imap_dir This can be your inbox or a subfolder, eg. "Inbox", "[Gmail]/All Mail", "my-newsletters", etc.
debug Prints out progress or any issues as it goes; for debugging only (defaults to false)
delete_mail_after Keeps the mail in the mailbox after processing (defaults to true) - note that subsequent requests will pick up the same email again

Included Packages

With thanks to the following for these dependancies;

Requirements

Troubleshooting

Known Issues


All versions of newsletters-to-kindle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
mpdf/mpdf Version ^8.0
zbateson/mail-mime-parser Version ^2.2
phpmailer/phpmailer Version ^6.6
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 alexpcooper/newsletters-to-kindle contains the following files

Loading the files please wait ....