magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
321 stars 147 forks source link

not compatible with PHP 7? #52

Closed robbiefowler closed 7 years ago

robbiefowler commented 7 years ago

Could not find package magepal/magento2-gmailsmtpapp at any version matchin g your PHP version 7.1.2.0

srenon commented 7 years ago

@robbiefowler ... I will review and update the composer.json "require" section shortly

srenon commented 7 years ago

@robbiefowler ... did you install magento using composer?

Magento seem to be using the same php requirement as this module see https://github.com/magento/magento2/blob/develop/composer.json#L11

robbiefowler commented 7 years ago

yes I ran the command composer require magepal/magento2-gmailsmtpapp and got the error as above. It would not install. I have installed it manually but having block ports issues so not sure if it will work

srenon commented 7 years ago

Since Magento technically don't support 7.1.2.0, removing the php requirement or adding this new version can only cause more harm than good (in term of me support this module).

One quick solution would be to fork this module and update the compose.json

composer config repositories.MyRepoHere-gmailsmtpapp git git@github.com:MyRepoHere/magento2-gmailsmtpapp.git

composer require MyRepoHere/magento2-gmailsmtpapp:master