nbcommunication / WireMailgun

Extends WireMail to use the Mailgun API for sending emails
Mozilla Public License 2.0
6 stars 3 forks source link

Mime type improvements #17

Closed chriswthomson closed 5 years ago

chriswthomson commented 5 years ago

Further investigation of getting mime type:

based on https://www.php.net/manual/en/function.mime-content-type.php#87856 and https://gist.github.com/Erutan409/8e774dfb2b343fe78b14#file-mimetype-php

Also, a WireException is now thrown if an attachment has been added but curl_file_create() doesn't exist.

Version update.