{"id":16772261,"url":"https://github.com/m-adamski/symfony-mailer-bundle","last_synced_at":"2026-05-17T21:06:58.581Z","repository":{"id":62521062,"uuid":"154449833","full_name":"m-adamski/symfony-mailer-bundle","owner":"m-adamski","description":"Bundle for Symfony which helps compose and send emails","archived":false,"fork":false,"pushed_at":"2020-02-07T07:21:55.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T00:01:44.845Z","etag":null,"topics":["mailer-bundle","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-adamski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-24T06:25:30.000Z","updated_at":"2020-02-07T07:20:01.000Z","dependencies_parsed_at":"2022-11-02T10:31:56.619Z","dependency_job_id":null,"html_url":"https://github.com/m-adamski/symfony-mailer-bundle","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-mailer-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-mailer-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-mailer-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-mailer-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-adamski","download_url":"https://codeload.github.com/m-adamski/symfony-mailer-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243895930,"owners_count":20365295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mailer-bundle","php","symfony","symfony-bundle"],"created_at":"2024-10-13T06:30:49.965Z","updated_at":"2026-05-17T21:06:53.530Z","avatar_url":"https://github.com/m-adamski.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailer Bundle for Symfony\n\nThe package unifies the class nomenclature and adds new functionality to the existing SwiftMailer library. \nUsing it, creating messages is more convenient and faster.\n\nThis bundle is compatible with Symfony 4.1 and Symfony 5.0. Symfony 3.4 compatibility abandoned.\n\n## Installation\n\nThis bundle can be installed by Composer:\n\n```\n$ composer require m-adamski/symfony-mailer-bundle\n```\n\n## How to use it?\n\nThe helper contains an additional function to create a message instance. \nWith its help, you can also render the message content from the Twig template.\n\n| Method         | Description                                                                                                                  |\n| -------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| buildMessage   | The function returns a message instance. It is possible to overwrite the class parameters later.                             |\n| renderTemplate | The function renders the message content from the given Twig template.                                                       |\n| sendMessage    | The function sends a previously prepared message. The return value is the number of recipients to whom the message was sent. |\n\nTo simplify the creation of HTML messages, a function has been prepared in the ``MailerMessage`` class that automatically defines the message as ``text/html``.\n\n| Method      | Description                                                       |\n| ----------- | ----------------------------------------------------------------- |\n| setHTMLBody | The function sets the class parameters to get a text/html message |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-adamski%2Fsymfony-mailer-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-adamski%2Fsymfony-mailer-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-adamski%2Fsymfony-mailer-bundle/lists"}