Problem/Motivation

I installed $ composer require 'drupal/phpmailer_smtp:2.1.x-dev@dev' I am getting following error when I am trying to activate PHPMailer OAuth2

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
phpmailer.png16.88 KBmhentry

Comments

mhentry created an issue. See original summary.

imclean’s picture

Category: Bug report » Support request

Dependencies are tricky with dev versions. Make sure you've installed PHPMailer 2.1.x-dev then adjust the dependency in phpmailer_oauth2.info.yml:

dependencies:
  - phpmailer_smtp:phpmailer_smtp
mhentry’s picture

@imclean,

I adjusted the dependency in phpmailer_oauth2.info.yml as you suggested it does the trick.

imclean’s picture

Status: Active » Fixed

@mhentry, good to hear. Let me know if the module works for you and I'll release alpha versions of this and PHPMailer 2.1.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mhentry’s picture

@Imclean, is it possible to release a newer version by removing phpmailer_smtp dependencies version in phpmailer_oauth2.info

Thank you

imclean’s picture

Is the composer dependency working ok? "drupal/phpmailer_smtp": "^2.1.0",

If the .info file is the only issue, can you see if changing the dependency there to 2.1.0-alpha1 solves the problem.

imclean’s picture

I've released alpha2 which removes the version constraint from .info.yml.