PHPackages                             ossinkine/swiftmailer-punycode-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ossinkine/swiftmailer-punycode-plugin

Abandoned → [swiftmailer/swiftmailer:^6.1](/?search=swiftmailer%2Fswiftmailer%3A%5E6.1)Library

ossinkine/swiftmailer-punycode-plugin
=====================================

Swiftmailer plugin to convert domain in email addresses to punycode

v1.0.0(8y ago)51.5kMITPHPPHP ^7.0

Since Jan 18Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ossinkine/swiftmailer-punycode-plugin)[ Packagist](https://packagist.org/packages/ossinkine/swiftmailer-punycode-plugin)[ RSS](/packages/ossinkine-swiftmailer-punycode-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Swiftmailer Punycode Plugin
===========================

[](#swiftmailer-punycode-plugin)

[![Build Status](https://camo.githubusercontent.com/44143fdcb4d8dbc43db0862cef70a93562493cc1460b94e840d8574729bffa2a/68747470733a2f2f7472617669732d63692e6f72672f6f7373696e6b696e652f73776966746d61696c65722d70756e79636f64652d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ossinkine/swiftmailer-punycode-plugin)

Swiftmailer plugin to convert domain in email addresses to punycode.

Installation
------------

[](#installation)

```
composer require ossinkine/swiftmailer-punycode-plugin
```

Usage
-----

[](#usage)

Create and register a plugin instance when you setup a `Swift_Mailer` instance.

```
use Ossinkine\Swift\Plugin\PunycodePlugin;

// Create the Mailer using any Transport
$mailer = new Swift_Mailer(
  new Swift_SmtpTransport('smtp.example.org', 25)
);

// Register the plugin
$mailer->registerPlugin(new PunycodePlugin());
```

Now you can send an email to an address with Unicode-encoded domain.

```
// Create a message with Unicode-encoded receiver address
$message = (new Swift_Message())
  ->setTo(['receiver@bücher.tld'])
;
// Send the message
$mailer->send($message);
```

Usage with Symfony
------------------

[](#usage-with-symfony)

Just register a service with a `swiftmailer.default.plugin` tag in your `services.yml`.

```
Ossinkine\Swift\Plugin\PunycodePlugin:
    tags: [swiftmailer.default.plugin]
```

License
-------

[](#license)

[Swiftmailer Punycode Plugin](https://github.com/ossinkine/swiftmailer-punycode-plugin) is licensed under the [MIT license](LICENSE).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3033d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf9c00e84cec1d3a5b39105ecf8093c44529e1b1166673e2ea6106bf80edb09e?d=identicon)[ossinkine](/maintainers/ossinkine)

---

Top Contributors

[![ossinkine](https://avatars.githubusercontent.com/u/2588533?v=4)](https://github.com/ossinkine "ossinkine (7 commits)")

---

Tags

punycodeswiftmailerswiftmailer-pluginpunycodeswiftmailerswiftmailer-plugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ossinkine-swiftmailer-punycode-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/ossinkine-swiftmailer-punycode-plugin/health.svg)](https://phpackages.com/packages/ossinkine-swiftmailer-punycode-plugin)
```

###  Alternatives

[yiisoft/yii2-swiftmailer

The SwiftMailer integration for the Yii framework

11520.0M468](/packages/yiisoft-yii2-swiftmailer)[cspoo/swiftmailer-mailgun-bundle

Swiftmailer Mailgun bundle

1031.1M](/packages/cspoo-swiftmailer-mailgun-bundle)[mailjet/mailjet-swiftmailer

A SwiftMailer transport implementation for Mailjet

261.2M9](/packages/mailjet-mailjet-swiftmailer)[aimeos/ai-swiftmailer

SwiftMailer adapter for Aimeos web shops and e-commerce solutions

20168.3k5](/packages/aimeos-ai-swiftmailer)[yuan1994/tp-mailer

A powerful and beautiful php mailer for All of ThinkPHP and Other PHP Frameworks based SwiftMailer

812.0k1](/packages/yuan1994-tp-mailer)[goetas/to-swift-mime-parser

Parse a generic mail stream, and convert it to a SwiftMailer Message

1244.4k2](/packages/goetas-to-swift-mime-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
