Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
This package has been abandoned. Use symfony/mailer instead.
Generated on May 18, 2024 via composer

symfony/swiftmailer-bundle v3.5.4

Symfony SwiftmailerBundle
Package summary
Share
2
issues
2
high severity
meta
2
1
license
30
MIT
Package created
18 Nov 2011
Version published
6 Feb 2022
Maintainers
1
Total deps
30
Direct deps
4
License
MIT

Issues

2

2 high severity issues

high
via: swiftmailer/swiftmailer@v6.3.0
via: symfony/swiftmailer-bundle@v3.5.4
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
30 Packages, Including:
doctrine/deprecations@1.1.3
doctrine/lexer@2.1.1
egulias/email-validator@3.2.6
psr/container@1.1.2
psr/event-dispatcher@1.0.0
psr/log@2.0.0
swiftmailer/swiftmailer@v6.3.0
symfony/config@v5.4.39
symfony/dependency-injection@v5.4.39
symfony/deprecation-contracts@v3.5.0
symfony/error-handler@v6.3.12
symfony/event-dispatcher@v6.4.7
symfony/event-dispatcher-contracts@v3.5.0
symfony/filesystem@v6.4.7
symfony/http-foundation@v6.4.7
symfony/http-kernel@v5.4.39
symfony/polyfill-ctype@v1.29.0
symfony/polyfill-iconv@v1.29.0
symfony/polyfill-intl-idn@v1.29.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php72@v1.29.0
symfony/polyfill-php73@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/polyfill-php81@v1.29.0
symfony/polyfill-php83@v1.29.0
symfony/process@v6.4.7
symfony/service-contracts@v2.5.3
symfony/swiftmailer-bundle@v3.5.4
symfony/var-dumper@v6.4.7
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

4
All Dependencies CSV
β“˜ This is a list of symfony/swiftmailer-bundle 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
swiftmailer/swiftmailerv6.3.0249.57 kBMIT
prod
1
symfony/configv5.4.39-MIT
prod dev
symfony/dependency-injectionv5.4.39-MIT
prod dev
symfony/http-kernelv5.4.39-MIT
prod dev

Visualizations

Frequently Asked Questions

What does symfony/swiftmailer-bundle do?

The Symfony SwiftmailerBundle is a package that provides functionalities for sending emails. However, it's worth noting that this bundle is no longer maintained as of November 2021 since Swiftmailer itself is also unmaintained. It was designed to support modern PHP code and support for third-party providers. SwiftmailerBundle was, thus, the go-to library for handling emails in Symfony-based applications. Nevertheless, developers are now encouraged to switch to Symfony Mailer, which serves as Swiftmailer's successor affording similar functionalities but with continued support.

How do you use symfony/swiftmailer-bundle?

Using the Symfony SwiftmailerBundle begins with the installation process. You install the package via composer using the command composer require symfony/swiftmailer-bundle. Once installed, you can typically use SwiftmailerBundle to send emails in a Symfony application as shown in the example below. However, remember this bundle is no longer maintained; switching to Symfony Mailer is recommended. The code usage example:

$message = (new \Swift_Message('Hello Email'))
    ->setFrom('send@example.com')
    ->setTo('receiver@example.com')
    ->setBody(
        $this->renderView(
            'emails/registration.html.twig',
            ['name' => $name]
        ),
        'text/html'
    );

$mailer->send($message);

Where are the symfony/swiftmailer-bundle docs?

The documentation for the Symfony SwiftmailerBundle is no longer maintained alongside the package. It's recommended that developers migrate to Symfony Mailer, which is the next evolution of Swiftmailer. The Symfony Mailer documentation is regularly updated and provides comprehensive information on how to make the shift from Swiftmailer, integrate it into your Symfony project and utilize its features.