No luck installing

Created on 14 April 2023, about 1 year ago
Updated 15 March 2024, 4 months ago

Running PHP 8.1.17/MySQL 8.0.32 and Drupal 9.5.5

Unable to install SMTP module using composer. I can only install it via the web interface pointing to url.

Manually installed PHPMailer 6.8

I am able to turn module on but no emails are sent. No debugging info ever shows up.

Trying via composer gives me this :
==================================================================START QUOTE
composer require 'drupal/smtp:^1.2'
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update drupal/smtp
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/smtp, it could not be found in any version, there may be a typo in the package name.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it

Read for further common problems.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
==================================================================END QUOTE

Looks like I don't meet the requirements. Can anybody see if I am missing anything ?

Thanks

πŸ’¬ Support request
Status

Active

Version

1.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

    I can't reproduce this.

  • πŸ‡ΊπŸ‡ΈUnited States sneharao

    @BrzI,
    Have you find solution?
    I have same issue right now. When I run composer require 'drupal/smtp:^1.2' , get the same above error.

  • πŸ‡¬πŸ‡§United Kingdom aaron.ferris

    Also cannot reproduce this, can you maybe share your composer.json?

    ./composer.json has been updated
    Running composer update drupal/smtp
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 2 installs, 0 updates, 0 removals
      - Locking drupal/smtp (1.2.0)
      - Locking phpmailer/phpmailer (v6.9.1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 2 installs, 0 updates, 0 removals
      - Downloading phpmailer/phpmailer (v6.9.1)
      - Downloading drupal/smtp (1.2.0)
      - Installing phpmailer/phpmailer (v6.9.1): Extracting archive
      - Installing drupal/smtp (1.2.0): Extracting archive
Production build 0.69.0 2024