| 开发者 | arpansahdev |
|---|---|
| 更新时间 | 2026年9月17日 23:58 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
mail() function, which many hosts do not configure correctly — so password resets, order receipts and contact-form messages land in spam or never arrive at all.
Kavin SMTP reroutes all outgoing WordPress email through a proper SMTP server that authenticates your site, dramatically improving deliverability. Configure it once in a clean settings screen and send a test email to confirm it works.
And when email still fails, the Connection Doctor finds out why.
Connection Doctor
Most SMTP plugins show you an error code and leave you to search for it. Kavin SMTP runs the checks for you, from your own server, and says in plain words what is wrong and what to do:
wp-config.php (the KVN_SMTP_PASSWORD constant) instead of the database for extra security.kvn_smtp_mailers — add mailer options.kvn_smtp_mailer_config — filter the SMTP config before it is applied.kvn_smtp_before_configure / kvn_smtp_after_configure — act on the PHPMailer instance.kvn_smtp_render_mailer_sections — add your own mailer's settings section to the form.kvn_smtp_doctor_target — let the Connection Doctor check your own mailer's SMTP connection.kvn_smtp_doctor_result — adjust a Connection Doctor result.kvn_smtp_doctor_providers — add a provider to the list the doctor and Find my settings know.kvn_smtp_loaded — run code once the plugin has booted.kavin-smtp folder to /wp-content/plugins/, or install the plugin through the Plugins screen in WordPress.Click Run Connection Doctor on the settings screen. It checks, in order, your settings, the mail server's name, whether your host blocks mail ports, whether the server that answers is really your provider's, and whether your login is accepted. Each result says what is wrong and what to do.
Some hosting companies intercept outgoing SMTP and pass it through their own mail server. Your settings look correct, but WordPress refuses the connection because the certificate belongs to the host, not to your email provider. The Connection Doctor detects this and shows which certificate answered, so you can ask your host to allow outgoing SMTP.
No. It never sends an email, and nothing is sent to Kavin Studios. It only runs when you click the button. See External services below for exactly what it connects to.
Choose the Google / Gmail mailer, enter your Gmail address, and paste a Google App Password. To create one, enable 2-Step Verification on your Google account, then generate an App Password at myaccount.google.com. Prefer OAuth ("Connect with Google") with no app password? That is available in Kavin SMTP Pro.
Click Find my settings — it recognises Gmail, Google Workspace, Microsoft 365, Outlook.com, Yahoo, iCloud and Zoho. Otherwise your email provider publishes them. Common examples: Gmail uses smtp.gmail.com, port 587, TLS (create an App Password); Outlook/Microsoft 365 uses smtp.office365.com, port 587, TLS.
Yes. Add define( 'KVN_SMTP_PASSWORD', 'your-password' ); to wp-config.php. The field is then hidden in the admin and the constant is used instead.
The notice shows the actual SMTP error and a link to the Connection Doctor, which works out the cause for you. The most common causes are a port your host blocks, a wrong port/encryption combination (use 587+TLS or 465+SSL), incorrect credentials, or a provider that requires an app-specific password.
Yes. Kavin SMTP hooks into the standard wp_mail() pipeline, so any plugin that sends mail through WordPress is routed via your SMTP server.