PHPackages                             elm/identity\_smtp - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. elm/identity\_smtp

ActiveRoundcube-plugin[Mail &amp; Notifications](/categories/mail)

elm/identity\_smtp
==================

Individual SMTP settings for every identity

1.6.0(3y ago)481.5k20[6 issues](https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin/issues)MITPHP

Since Aug 21Pushed 10mo ago10 watchersCompare

[ Source](https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin)[ Packagist](https://packagist.org/packages/elm/identity_smtp)[ Docs](https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin)[ RSS](/packages/elm-identity-smtp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

identity\_smtp Roundcube Plugin
===============================

[](#identity_smtp-roundcube-plugin)

This Roundcube plugin allows you to setup identities with different SMTP servers from the RC installation's default.

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

[](#installation)

This plugin is available from [Packagist](https://packagist.org/packages/elm/identity_smtp).

### Manual Installation

[](#manual-installation)

```
$ cd /path/to/roundcube/plugins
$ git clone https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin.git identity_smtp

```

To use a specific version:

```
$ git checkout 1.6.0

```

Replace `1.6.0` with any version found [here](https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin/tags)

The plugins folder must be named identity\_smtp.

Add `identity_smtp` to `$rcmail_config['plugins']` in `config/main.inc.php`.

A default SMTP server has to be set in `config/main.inc.php`, otherwise Roundcube will not call any SMTP function and the plugin will not work.

Versions
--------

[](#versions)

Each version's Major + Minor will match the latest version of Roundcube that it's compatible with. If you cannot find a version for your install, use the closest-matching newer version.

Usage
-----

[](#usage)

In the `Identities` settings you can specify an alternative SMTP server for every identity to send mail with. When composing an email, just choose the identity you want to use to send mail.

Examples
--------

[](#examples)

### Gmail

[](#gmail)

#### Roundcube 1.6+

[](#roundcube-16)

- Server Host: `tls://smtp.gmail.com:587`
- Username: `example@gmail.com`
- Password: `HighlySecurePassw0rd`

#### Roundcube 1.5 &amp; below

[](#roundcube-15--below)

- Server IP/Hostname: `tls://smtp.gmail.com`
- Server Port: `587`
- Username: `example@gmail.com`
- Password: `HighlySecurePassw0rd`

Note: As of 30/MAY/2022 Google blocks sending email using your account's password. To get a working password for sending email, please use an [App Specific Password](https://support.google.com/accounts/answer/185833?hl=en).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 65.7% 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

Every ~829 days

Total

4

Last Release

1434d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81abbe0fd255a5ee706a5fc348b8436c32dfa60661f0bdc40f36f920cbc0f6a1?d=identicon)[deflomu](/maintainers/deflomu)

---

Top Contributors

[![deflomu](https://avatars.githubusercontent.com/u/100795?v=4)](https://github.com/deflomu "deflomu (44 commits)")[![NotActuallyTerry](https://avatars.githubusercontent.com/u/670020?v=4)](https://github.com/NotActuallyTerry "NotActuallyTerry (9 commits)")[![ritze](https://avatars.githubusercontent.com/u/1204299?v=4)](https://github.com/ritze "ritze (3 commits)")[![joebordes](https://avatars.githubusercontent.com/u/1237191?v=4)](https://github.com/joebordes "joebordes (3 commits)")[![michaelkanis](https://avatars.githubusercontent.com/u/500021?v=4)](https://github.com/michaelkanis "michaelkanis (1 commits)")[![mp107](https://avatars.githubusercontent.com/u/12803234?v=4)](https://github.com/mp107 "mp107 (1 commits)")[![sahne123](https://avatars.githubusercontent.com/u/1149152?v=4)](https://github.com/sahne123 "sahne123 (1 commits)")[![bouttier](https://avatars.githubusercontent.com/u/1125589?v=4)](https://github.com/bouttier "bouttier (1 commits)")[![tborychowski](https://avatars.githubusercontent.com/u/392513?v=4)](https://github.com/tborychowski "tborychowski (1 commits)")[![dscho](https://avatars.githubusercontent.com/u/127790?v=4)](https://github.com/dscho "dscho (1 commits)")[![githu4LN](https://avatars.githubusercontent.com/u/68079558?v=4)](https://github.com/githu4LN "githu4LN (1 commits)")[![metalefty](https://avatars.githubusercontent.com/u/941609?v=4)](https://github.com/metalefty "metalefty (1 commits)")

---

Tags

Settingsmailidentitysmtp

### Embed Badge

![Health badge](/badges/elm-identity-smtp/health.svg)

```
[![Health](https://phpackages.com/badges/elm-identity-smtp/health.svg)](https://phpackages.com/packages/elm-identity-smtp)
```

###  Alternatives

[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

5389.8M246](/packages/nette-mail)[mlocati/spf-lib

Parse, build and validate SPF (Sender Policy Framework) DNS records

67867.9k2](/packages/mlocati-spf-lib)[pear/net_smtp

An implementation of the SMTP protocol

263.0M16](/packages/pear-net-smtp)[toteph42/identity_switch

This plugin allows users to switch between different accounts (and check for new mails) in a single Roundcube session.

211.2k](/packages/toteph42-identity-switch)[txthinking/mailer

A very lightweight PHP SMTP mail sender

10098.9k3](/packages/txthinking-mailer)[thefox/smtpd

SMTP server (library) written in pure PHP.

1302.4k1](/packages/thefox-smtpd)

PHPackages © 2026

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