Dear Users,

Please be informed that the PHP mail() function has been disabled on our server for security and performance reasons. To ensure your WordPress website continues to send emails properly, you must configure the WP Mail SMTP plugin to handle outgoing emails.

Below are the step-by-step instructions to set up the WP Mail SMTP plugin:

Step 1: Install the WP Mail SMTP Plugin

  1. Log in to your WordPress admin dashboard.
  2. Navigate to Plugins > Add New.
  3. In the search bar, type "WP Mail SMTP" and press Enter.
  4. Locate the WP Mail SMTP by WPForms plugin and click Install Now.
  5. Once the installation is complete, click Activate.

Step 2: Configure WP Mail SMTP Settings

  1. After activation, go to WP Mail SMTP under the Settings menu in your WordPress dashboard.
  2. Fill in the required fields:
    • From Email: Enter the email address you want to send emails from.
    • From Name: Enter the name you want your emails to display as being sent from.
  3. Scroll down to the Mailer section and select your preferred mailer service. We recommend using one of the following options:
    • SMTP: This option allows you to connect your website to an external SMTP server like Gmail, SendGrid, or any other email service provider.
    • Sendinblue: Use this if you have a Sendinblue account.
    • Mailgun: Use this if you have a Mailgun account.
    • Amazon SES: Use this if you have an Amazon SES account.

Step 3: Set Up SMTP Configuration (If Using SMTP)

  1. If you choose the SMTP option, you will need to configure the following settings:

    • SMTP Host: Enter your SMTP server address (e.g., smtp.gmail.com for Gmail).
    • SMTP Port: Enter the port number (e.g., 587 for TLS, 465 for SSL).
    • Encryption: Choose between TLS or SSL depending on your SMTP provider's recommendation.
    • Authentication: Set this to "Yes".
    • SMTP Username: Enter your email address or username.
    • SMTP Password: Enter your email password.
  2. Important: If you are using a Gmail account, you will need to either enable "Less secure apps" or generate an App Password in your Google Account. Follow one of the methods below:

    Option 1: Enable Less Secure Apps

    1. Go to your Google Account at myaccount.google.com.
    2. Navigate to Security on the left-hand menu.
    3. Scroll down to the Less secure app access section.
    4. Click on Turn on access (not recommended) and toggle the switch to ON.

    Option 2: Generate an App Password (Recommended)

    1. Go to your Google Account at myaccount.google.com.
    2. Navigate to Security on the left-hand menu.
    3. Ensure that 2-Step Verification is turned on under the Signing in to Google section.
    4. Under Signing in to Google, click on App passwords.
    5. Select Mail and Other (Custom name) under the Select app and Select device dropdowns respectively, then click Generate.
    6. Copy the generated App Password and use it as the SMTP Password in the WP Mail SMTP settings.
  3. After entering all the details, click the Save Settings button.

Step 4: Test the Email Configuration

  1. Navigate to the Email Test tab within the WP Mail SMTP settings.
  2. Enter an email address to send a test email to, and click Send Email.
  3. If the test is successful, you will receive the test email. If not, recheck your configuration settings.

Step 5: Monitor Email Deliverability

It's recommended to periodically monitor your email deliverability to ensure everything is functioning as expected. You can use tools like WP Mail Logging to keep a log of all outgoing emails.

Conclusion

By following these steps, you can ensure that your WordPress site continues to send emails reliably even with the PHP mail() function disabled. If you encounter any issues during the setup, please contact our support team for assistance.

Thank you for your attention and cooperation.

Best regards,
Team WSP



jeudi, août 1, 2024

« Retour