Problem
The client was not receiving emails from the website contact form, even though the form showed that the email had been sent.
Cause
The SMTP password was incorrect, which caused outgoing emails to fail.
Technical Solution
Correct the SMTP password in the website's SMTP configuration and test the email again.
Steps
Step 1: Open the SMTP Settings
Log in to the WordPress admin panel and open the installed SMTP plugin.
Step 2: Check SMTP Configuration
Check the SMTP username, password, host, and port configured in the plugin.
Step 3: Verify the Email Account in cPanel
Log in to cPanel and open the "Email Accounts" section. Confirm that the email account (e.g., [email protected]) exists, is active, and is not marked as "Restricted." Also check that the account hasn't exceeded its storage limit, as this can also block outgoing/incoming mail.
Step 4: Get the Correct SMTP/IMAP Settings from cPanel
Open "Connect Devices" (or "Manual Settings") for the email account to view the correct mail server settings. Note down the following:
- Incoming Server (IMAP): mail.yourdomain.com, Port 993
- Outgoing Server (SMTP): mail.yourdomain.com, Port 465
- Username: full email address (e.g., [email protected])
Ye settings match honi chahiye WordPress SMTP plugin mein jo aap ne configure ki hain — agar host ya port mismatch ho to wahi outgoing email fail hone ki wajah ban sakti hai.
Step 5: Update the SMTP Password
Replace the incorrect SMTP password with the correct password for the email account and save the settings.
Step 6: Test the Email
Send a test email from the SMTP plugin and verify that the email is delivered successfully.