Manuall "TijsVerkoyen\CssToInlineStyles\CssToInlineStyles" install path

Created on 8 October 2024, about 2 months ago

Problem/Motivation

Manuall dependecy installation when unable use composer to install module.
There is no source where "TijsVerkoyen\CssToInlineStyles\CssToInlineStyles" library have to be placed.

Steps to reproduce

Install Drupal Smyfony Mailer Lite manually by copy via FTP into path "www/modules/symfony_mailer_lite".
Enable module and set it as Default Formatter and Sender in Mail System.
While sending email get error:
Error: Class "TijsVerkoyen\CssToInlineStyles\CssToInlineStyles" not found in Drupal\symfony_mailer_lite\Plugin\Mail\SymfonyMailer->__construct() (line 159 of modules/symfony_mailer_lite/src/Plugin/Mail/SymfonyMailer.php)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

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

Comments & Activities

  • Issue created by @metalmichal
  • 🇮🇳India zartab farooquee

    While sending an email using the Symfony Mailer Lite module, the following error occurred:
    Error: Class "TijsVerkoyen\CssToInlineStyles\CssToInlineStyles" not found.
    The required CssToInlineStyles library is missing because it wasn’t installed via Composer, which is normally used to manage dependencies.

    Download the Library:
    The CssToInlineStyles library was manually downloaded from GitHub.

    Place the Library:
    The library was placed in the path:
    vendor/tijsverkoyen/css-to-inline-styles.

    Autoload the Library:
    It was manually added to Drupal's autoloader by including it in the autoload.php file.

    Clear Cache.

Production build 0.71.5 2024