Skip to content

Instantly share code, notes, and snippets.

@Lewiscowles1986
Created October 1, 2017 00:25
Show Gist options
  • Save Lewiscowles1986/917edac5239ae62ee1f02eb837a6d551 to your computer and use it in GitHub Desktop.
Save Lewiscowles1986/917edac5239ae62ee1f02eb837a6d551 to your computer and use it in GitHub Desktop.
Mailparse for Xenial
#!/bin/sh
pecl download mailparse
tar -xvf mailparse-3.0.2.tgz
cd mailparse-3.0.2/
phpize
./configure
sed -i 's/#if\s!HAVE_MBSTRING/#ifndef MBFL_MBFILTER_H/' ./mailparse.c
make
make test
@Lewiscowles1986
Copy link
Author

For other OS, checkout http://wiki.cerbweb.com/Installing_PHP_Mailparse

Apparently debian stretch includes php-mailparse as a core package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment