· Tutorial ·

How to change the default mailbox of your WordPress?

This manual explains how to modify the email account that is created by default in a WordPress installation from SWPanel. In addition to changing the account, such as updating the password or modifying the connection security.

Using the browser of your SWPanel, access your WordPress hosting: enter image description here

  1. If your Hosting plan only allows one mailbox, you will need to delete your current mailbox and create a new one. To do this, you can follow this manual: E-mail.

  2. Next, you must access the file manager of your hosting: enter image description here

  3. You will need to locate and edit the wp-config.php file, located in data/web/wp-config.php: enter image description here

  4. At the bottom of the file, you must locate the following section: enter image description here

  5. Here, you must modify the following sections with the parameters that you will find in the details of the account that you have created (Mail Manual):

Setup, if your mailbox has a security certificate (You can install it by guiding yourself with the following (Manual))

define('WPMS_SMTP_HOST', '**servidor_de_correo**');

define('WPMS_SMTP_PORT', **465**);

define('WPMS_SSL', '**ssl**'); 

define('WPMS_SMTP_USER', '**Correo**');

define('WPMS_SMTP_PASS', '**Contraseña**');

Configuration, if your mailbox does´´ NOT ´´have a security certificate

define('WPMS_SMTP_HOST', '**servidor_de_correo**');

define('WPMS_SMTP_PORT', **25**);

define('WPMS_SMTP_USER', '**Correo**');

define('WPMS_SMTP_PASS', '**Contraseña**');
  1. In order for WordPress notifications and password recovery email to reach your new account, you must log into your WordPress configuration panel and edit your user profile via the Users → Profile tab and modify the Email section and update it with your new email account: enter image description here

  2. To check that the configuration is correct, you can do it by using the WP Mail SMTP plugin (installed automatically) using the Email Test function: enter image description here enter image description here

i