{"id":86849,"library":"yiisoft-yii2-swiftmailer","title":"Yii2 SwiftMailer","description":"The SwiftMailer integration for the Yii framework.","status":"active","version":"2.1.3","language":"php","source_language":null,"source_url":"https://github.com/yiisoft/yii2-swiftmailer","tags":["email","mail","swiftmailer","yii2"],"install":[{"cmd":"composer require yiisoft/yii2-swiftmailer","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Mailer","correct":"use yii\\swiftmailer\\Mailer;"}],"quickstart":{"code":"use yii\\swiftmailer\\Mailer;\n\n$mailer = new Mailer();\n$mailer->compose()\n    ->setTo('user@example.com')\n    ->setSubject('Test')\n    ->setTextBody('Hello!')\n    ->send();","lang":"php","description":"Send an email using Yii2 SwiftMailer."},"warnings":[{"fix":"Migrate to symfony/mailer or yiisoft/yii2-symfonymailer.","message":"SwiftMailer is no longer maintained; consider using Symfony Mailer or another library.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'email':10 'framework':9 'integr':5 'mail':11 'swiftmail':2,4,12 'yii':8 'yii2':1,13","created_at":"2026-06-19T08:09:14.511198+00:00","updated_at":"2026-06-19T08:09:14.511198+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/yiisoft/yii2-swiftmailer","github":"https://github.com/yiisoft/yii2-swiftmailer","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}