Title: WP SMTP Config
Author: pCoLaSD
Published: <strong>19 de desembre de 2011</strong>
Last modified: 12 de novembre de 2018

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-smtp-config.svg)

# WP SMTP Config

 Per [pCoLaSD](https://profiles.wordpress.org/pcolasd/)

[Baixa](https://downloads.wordpress.org/plugin/wp-smtp-config.1.2.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/wp-smtp-config/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/wp-smtp-config/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/wp-smtp-config/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/wp-smtp-config/#developers)

 [Suport](https://wordpress.org/support/plugin/wp-smtp-config/)

## Descripció

This plugin configures WordPress and WordPress MU to use a SMTP server when sending
emails instead of the default PHP `mail()` function.

You will configure your SMTP settings in your `wp-config.php` file instead of the
settings page.
 The advantage is that no admin of your blog can read the settings.
And you only have to place your settings once in cases of a WordPress MU installation.

A sample configuration:

    ```
    /**
     * WordPress SMTP server
     */
    define('WP_SMTP_HOST',       'mail.example.com');
    define('WP_SMTP_PORT',       25);                                // obligatory - default: 25
    define('WP_SMTP_ENCRYPTION', 'tls');                             // obligatory ('tls' or 'ssl') - default: no encryption
    define('WP_SMTP_USER',       'username');                        // obligatory - default: no user
    define('WP_SMTP_PASSWORD',   'password');                        // obligatory - default: no password
    define('WP_SMTP_FROM',       'John Doe <john.doe@example.com>'); // obligatory - default: no custom from address
    define('WP_SMTP_REPLYTO',    'Jane Doe <jane.doe@example.com>'); // obligatory - default: no custom reply to address
    ```

## Instal·lació

 1. Upload `wp-smtp-config.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place the SMTP details (see [Description](https://wordpress.org/extend/plugins/wp-smtp-config/))
    in your `wp-config.php` file above the line `/* That’s all, stop editing! Happy
    blogging. */`
 4. Test your settings (`Settings -> SMTP`)

## PMF

  Where is my SMTP settings page?

The configuration of the SMTP server credentials will be placed in your `wp-config.
php` file only.
 You can test your configuration in `Settings -> SMTP Test`. If 
you are running a MU installation you will find this settings page for SMTP Test
in your network settings.

## Ressenyes

![](https://secure.gravatar.com/avatar/0e6f81324958df5c5e9f1de6cd4093b070a8a3605dd1206fdf56e75ec89e52da?
s=60&d=retro&r=g)

### 󠀁[Not working any more](https://wordpress.org/support/topic/not-working-any-more-11/)󠁿

 [authentictech](https://profiles.wordpress.org/authentictech/) 17 de agost de 2019

The plugin is no longer sending emails on any of my sites. The «SMTP Test» link 
that is supposed to appear in the Settings menu after installation does not appear.
If you visit this test page by directly entering the URL in the location bar, the
page just says «Sorry, you are not allowed to access this page.» The plugin has 
not been updated for Wordpress 5.x so I guess it isn’t working because it is no 
longer compatible with latest Wordpress versions.

![](https://secure.gravatar.com/avatar/fb3464ace83f8d952dfac8ab14f905200ee244277061b494c63bf0bb42056c88?
s=60&d=retro&r=g)

### 󠀁[Does just what we need.](https://wordpress.org/support/topic/does-just-what-we-need/)󠁿

 [doofusdavid](https://profiles.wordpress.org/doofusdavid/) 20 de desembre de 2018

We want to route all email traffic on multiple mulitsite networks through an SMTP
server…rather than configuring many times, throwing this into the wp-config and 
network activating the plugin works great.

 [ Llegiu totes les 2 ressenyes ](https://wordpress.org/support/plugin/wp-smtp-config/reviews/)

## Col·laboradors i desenvolupadors

«WP SMTP Config» és programari de codi obert. La següent gent ha col·laborat en 
aquesta extensió.

Col·laboradors

 *   [ pCoLaSD ](https://profiles.wordpress.org/pcolasd/)
 *   [ holzhannes ](https://profiles.wordpress.org/holzhannes/)

[Traduïu «WP SMTP Config» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/wp-smtp-config)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/wp-smtp-config/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/wp-smtp-config/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/wp-smtp-config/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/wp-smtp-config/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.2.0

 * Fixed bug settings page not showing for network admin
 * Added config for custom reply to address
 * Added some security validations

#### 1.1.1

 * Fixed bug with port configuration

#### 1.1.0

 * Added config for custom from address

#### 1.0

 * Initial release

## Meta

 *  Versió **1.2.0**
 *  Darrera actualització **fa 8 anys**
 *  Instal·lacions actives **200+**
 *  Versió del WordPress ** 3.0 o posterior **
 *  Provada fins a **4.9.29**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-smtp-config/)
 * Etiquetes
 * [email](https://ca.wordpress.org/plugins/tags/email/)[mail](https://ca.wordpress.org/plugins/tags/mail/)
   [phpmailer](https://ca.wordpress.org/plugins/tags/phpmailer/)[smtp](https://ca.wordpress.org/plugins/tags/smtp/)
   [ssl](https://ca.wordpress.org/plugins/tags/ssl/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/wp-smtp-config/advanced/)

## Valoracions

 3 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/wp-smtp-config/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/wp-smtp-config/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/wp-smtp-config/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/wp-smtp-config/reviews/?filter=2)
 *  [  1 valoració de 1 estrelles     ](https://wordpress.org/support/plugin/wp-smtp-config/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/wp-smtp-config/reviews/)

## Col·laboradors

 *   [ pCoLaSD ](https://profiles.wordpress.org/pcolasd/)
 *   [ holzhannes ](https://profiles.wordpress.org/holzhannes/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/wp-smtp-config/)