Title: SMTPify
Author: Kasuga
Published: <strong>2 يونيو، 2026</strong>
Last modified: 3 يونيو، 2026

---

البحث عن الإضافات

![](https://ps.w.org/smtpify/assets/banner-772×250.png?rev=3557682)

![](https://ps.w.org/smtpify/assets/icon-256x256.png?rev=3557682)

# SMTPify

 بواسطة [Kasuga](https://profiles.wordpress.org/kasuga16/)

[تنزيل](https://downloads.wordpress.org/plugin/smtpify.1.0.0.zip)

 * [تفاصيل](https://ar.wordpress.org/plugins/smtpify/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/smtpify/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/smtpify/#installation)
 * [التطوير](https://ar.wordpress.org/plugins/smtpify/#developers)

 [الدعم](https://wordpress.org/support/plugin/smtpify/)

## الوصف

SMTPify does one thing: replace WordPress’s default PHP mail with a reliable SMTP
connection — no ads, no upsells, and no cluttering your admin menu.
 Just enter 
your host, port, and credentials. That’s it.

Features:

 * Supports SSL/TLS, TLS (STARTTLS), and unencrypted connections.
 * Optional SMTP authentication with username and password.
 * Override the From address and display name site-wide, with an option to force
   your identity even when other plugins set their own From values.
 * Built-in test email tool to verify your configuration.
 * Persistent error log that records mail failures with recipient and timestamp,
   viewable on the settings page.

What makes SMTPify different:

 * All settings can optionally be fixed in code via constants in `wp-config.php`,
   making the plugin maintenance-free after deployment.
 * No external dependencies beyond PHPMailer, which is already bundled with WordPress.
 * Settings page kept out of the navigation sidebar, accessible via the Settings
   link on the Plugins screen.
 * No ads, no upsells.

### Configuration

#### SMTP Server

 * **SMTP Host** _(required)_ — The hostname of your SMTP server (e.g. `smtp.gmail.
   com`, `smtp.sendgrid.net`).
 * **Encryption** — Choose TLS (STARTTLS, recommended with port 587), SSL/TLS (port
   465), or None (not recommended).
 * **SMTP Port** — Automatically updated when you change the encryption type; override
   manually if your provider uses a non-standard port.
 * **Authentication** — Enable to send your username and password to the server.
   Required by virtually all commercial mail providers.
 * **Username** — Usually your full email address.
 * **Password** — Your SMTP password or app-specific password.

#### Sender Identity

 * **From Email Address** — The address that appears in the From header. Leave blank
   to use the WordPress default (`wordpress@yourdomain.com`).
 * **From Name** — The display name shown to recipients. Leave blank to use `WordPress`.
 * **Force Sender Identity** — When checked, SMTPify overrides the From address 
   and name set by any other plugin or theme, ensuring all outgoing mail uses your
   configured identity.
    Note: **some SMTP providers (including Gmail, Outlook, 
   Yahoo, and iCloud) ignore the From address and replace it with the authenticated
   account address.** This setting works as expected with dedicated mail delivery
   services (such as SendGrid, Mailgun, and Amazon SES) and self-hosted SMTP servers.

#### Override Settings via wp-config.php

SMTPify supports fixing settings in code by defining constants in `wp-config.php`.
When one of the following constants is defined, the corresponding setting is used
instead of the value stored in the admin form:

 * `SMTPIFY_HOST`
 * `SMTPIFY_PORT`
 * `SMTPIFY_ENCRYPTION`
 * `SMTPIFY_AUTH`
 * `SMTPIFY_USER`
 * `SMTPIFY_PASS`
 * `SMTPIFY_FROM_EMAIL`
 * `SMTPIFY_FROM_NAME`
 * `SMTPIFY_FORCE_FROM`

These definitions must be added manually to `wp-config.php` before the line that
says `/* That's all, stop editing! Happy publishing. */`.

Example:

    ```
    php
    define( 'SMTPIFY_HOST', 'smtp.example.com' );
    define( 'SMTPIFY_PORT', 587 );
    define( 'SMTPIFY_ENCRYPTION', 'tls' );
    define( 'SMTPIFY_AUTH', true );
    define( 'SMTPIFY_USER', 'user@example.com' );
    define( 'SMTPIFY_PASS', 'your-smtp-password' );
    define( 'SMTPIFY_FROM_EMAIL', 'no-reply@example.com' );
    define( 'SMTPIFY_FROM_NAME', 'My Site' );
    define( 'SMTPIFY_FORCE_FROM', true );
    ```

When a setting is overridden this way, the field on the plugin settings page is 
shown as read-only and displays `Overridden by ... in wp-config.php.`

#### Test Email

Use the **Send a Test Email** section at the bottom of the settings page to send
a live test to any address. The result, whether a success message or a detailed 
error from PHPMailer, is shown immediately on the page.

#### Mail Error Log

The **Mail Error Log** section lists the 20 most recent mail failures, each showing
the date, recipient, and error message. Use Clear Log to delete all entries.

### Using Gmail as Your SMTP Server

Gmail requires an **App Password** instead of your regular Google account password.
App Passwords are available when two-factor authentication (2FA) is enabled, which
is now mandatory for most Google accounts.

#### Step 1 — Create an App Password in Google

 1. Sign in to your Google account and go to [myaccount.google.com/apppasswords](https://myaccount.google.com/apppasswords).
 2. Enter a name to identify this password (e.g. `WordPress`) and click **Create**.
 3. Google displays a 16-character password. Copy it now, as it will not be shown again.

You can create as many App Passwords as you like under a single Google account. 
Creating one per environment (production, staging, development) is recommended: 
if one is compromised, you can revoke it without affecting the others.

#### Step 2 — Enter these values on the SMTPify settings page

 * **SMTP Host**: `smtp.gmail.com`
 * **Encryption**: TLS (STARTTLS)
 * **SMTP Port**: `587`
 * **Authentication**: checked
 * **Username**: your full Gmail address (e.g. `youraddress@gmail.com`)
 * **Password**: the 16-character App Password from Step 1

#### Step 3 — Send a test email

Use the **Send a Test Email** section at the bottom of the settings page to confirm
that mail is delivered correctly before relying on the configuration in production.

#### Notes

 * Your regular Gmail password will not work; only App Passwords are accepted over
   SMTP.
 * An App Password grants SMTP access to anyone who knows it, regardless of which
   application or server uses it. Store it securely and revoke it immediately at
   [myaccount.google.com/apppasswords](https://myaccount.google.com/apppasswords)
   if you suspect it has been exposed.

## لقطات الشاشة

 * [[
 * The SMTPify settings page 1 — SMTP server configuration.
 * [[
 * The SMTPify settings page 2 — Sender identity.
 * [[
 * Define SMTP settings in wp-config.php.

## التنصيب

 1. Search for SMTPify in the Plugins  Add New screen in WordPress and click Install
    Now.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Click the Settings link on the Plugins screen to configure your SMTP credentials.
 4. Send a test email to confirm delivery.

## الأسئلة المتكررّة

### Where is the settings page?

After activation, click the **Settings** link next to SMTPify on the Plugins screen,
or navigate directly to **WP Admin  admin.php?page=smtpify**. The page does not 
appear in the Settings sidebar menu by design.

### Can I fix settings in code?

Yes. Define one or more `SMTPIFY_*` constants in `wp-config.php` to make individual
settings take effect at load time instead of relying on the saved option values.

For example:

    ```
    php
    define( 'SMTPIFY_HOST', 'smtp.example.com' );
    define( 'SMTPIFY_FROM_EMAIL', 'no-reply@example.com' );
    ```

Fields overridden by `wp-config.php` are displayed as read-only on the settings 
page, and the admin UI shows which constant is controlling the value.

## المراجعات

لا توجد مراجعات لهذه الإضافة.

## المساهمون والمطوّرون

“SMTPify” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

 *   [ Kasuga ](https://profiles.wordpress.org/kasuga16/)

[ترجمة ”SMTPify“ إلى لغتك.](https://translate.wordpress.org/projects/wp-plugins/smtpify)

### مُهتم بالتطوير؟

[تصفّح الشفرة](https://plugins.trac.wordpress.org/browser/smtpify/)، تحقق من [مستودع SVN](https://plugins.svn.wordpress.org/smtpify/)،
أو الاشتراك في [سجل التطوير](https://plugins.trac.wordpress.org/log/smtpify/) بواسطة
[RSS](https://plugins.trac.wordpress.org/log/smtpify/?limit=100&mode=stop_on_copy&format=rss).

## سجل التغييرات

#### 1.0.0

 * Initial release.
 * SMTP configuration with TLS, SSL, and unencrypted modes.
 * Authentication toggle with username and password fields.
 * Sender identity override with optional Force From mode.
 * Built-in test email tool.
 * Mail error log (up to 20 entries) viewable on the settings page.
 * Transient-based admin notices.
 * PHPCS and WordPress Coding Standards compliant.

## ميتا Meta

 *  Version **1.0.0**
 *  Last updated **قبل 18 ساعة**
 *  Active installations **أقل من 10**
 *  WordPress version ** 6.3 أو أعلى **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 أو أعلى **
 *  Language
 * [English (US)](https://wordpress.org/plugins/smtpify/)
 * Tags
 * [email](https://ar.wordpress.org/plugins/tags/email/)[phpmailer](https://ar.wordpress.org/plugins/tags/phpmailer/)
   [sendmail](https://ar.wordpress.org/plugins/tags/sendmail/)[smtp](https://ar.wordpress.org/plugins/tags/smtp/)
   [wp_mail](https://ar.wordpress.org/plugins/tags/wp_mail/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/smtpify/advanced/)

## التقييم

لم يتم تقديم أي مراجعات بعد.

[Your review](https://wordpress.org/support/plugin/smtpify/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/smtpify/reviews/)

## المساهمون

 *   [ Kasuga ](https://profiles.wordpress.org/kasuga16/)

## الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

 [عرض منتدى الدعم](https://wordpress.org/support/plugin/smtpify/)

## تبرع

هل ترغب في تقديم دعم متقدم لهذه الإضافة؟

 [ تبرع لهذه الإضافة ](https://www.paypal.me/kasuga16)