SMTP Mailer


SMTP Mailer 外掛能讓網站管理員設定處理全部網站外送電子郵件的郵件伺服器,它能將 wp_mail 函式的控制權轉由 SMTP 處理。


SMTP Mailer 設定

  • SMTP 伺服器:輸入外寄郵件伺服器,例如。
  • SMTP 驗證:設定傳送電子郵件時是否進行 SMTP 驗證。選取 [驗證],則需要提供 SMTP 的使用者名稱及密碼。
  • SMTP 使用者名稱:用於連接至 SMTP 伺服器的使用者名稱。
  • SMTP 密碼:用於連接至 SMTP 伺服器的密碼。
  • 加密類型:傳送電子郵件時的加密方式,建議使用 TLS。
  • SMTP 通訊埠:傳送電子郵件時使用的通訊埠。加密類型如果為 TLS,請設定為 587;如果為 SSL,請設定為 465。
  • 寄件者電子郵件地址:傳送電子郵件時所使用的寄件者電子郵件地址。
  • 寄件者名稱:傳送電子郵件時所使用的寄件者名稱。

SMTP Mailer 測試用電子郵件


  • 收件者:收件者的電子郵件地址。
  • 主旨:電子郵件的主旨。
  • 郵件內容:電子郵件內容。


SMTP Mailer 能與任何使用 WordPress Mail 函式的外掛協同運作,以下是已經過測試驗證相容的表單及聯絡表單外掛:

  • Contact Form 7
  • Jetpack 聯絡表單
  • Visual Form Builder
  • Fast Secure Contact Form
  • Formidable Forms
  • Contact Form by BestWebSoft

如需進一步了解外掛設定,請造訪 SMTP Mailer 外掛頁面。


  • SMTP Mailer 設定
  • SMTP Mailer [測試用電子郵件] 分頁


  1. 前往 WordPress 控制台的 [安裝外掛] 頁面。
  2. 點擊 [上傳外掛] 按鈕。
  3. 在裝置上瀏覽外掛安裝套件檔案
  4. 點擊 [立即安裝] 然後點擊 [啟用] 按鈕。


網站管理員可以使用這個外掛透過 SMTP 傳送從網站寄出的電子郵件嗎?


這個外掛是否能搭配 Gmail SMTP 使用?


這個外掛是否能搭配任何 SMTP 通訊埠使用?


這個外掛是否能搭配 Sendinblue SMTP 使用?


這個外掛是否能搭配 Mailgun SMTP 使用?


這個外掛是否能搭配 SendGrid SMTP 使用?


這個外掛是否能搭配 Postmark SMTP 使用?


這個外掛是否能搭配 Office365 SMTP 使用?


這個外掛是否能搭配 ZohoMail SMTP 使用?



2021 年 5 月 20 日
SMTP Mailer is a simple, but reliable plugin for sending emails via SMTP. It doesn't feature any special APIs, which keeps it small and quick, but it works, and the author keeps up to date with issues and environmental changes. I use it for Amazon SES on several sites and it works great.
2021 年 5 月 11 日
I started with a plugin with a lot of downloads. I gave up after half an hour of unsuccessful attempts. Here, at first, everything worked easily. Thanks.
2020 年 12 月 11 日
You're a genius! This is the best plugin that does the job. Easy setup, nothing extra. The entire plugin in 4 files - it's brilliant! Compared to "WP Mail SMTP" - 860 files!!! Which I deleted after I started getting errors on my website from a plugin that I didn't install (!) - "Action Scheduler" which is a part of the "WP Mail SMTP" plugin. They installed a crown record, 4 tables in the database, and my entire log was filled with fatal errors, some class checks for WooCommerce (which I don't even have installed). I write all this in order to show by a comparative example that "SMTP Mailer" is a brilliant plugin. "SMTP Mailer" does the job, doesn't spoil my mood and doesn't waste my time.
2020 年 8 月 9 日
If you are looking for a plugin to send mail over SMTP, then this is it. Straight forward minimalist design that gets the job done. I particularly like the display of the complete SMTP session when sending a test mail. Great job!
2020 年 4 月 30 日
So i have tried configuring it two ways - with gmail and smtp from my own hosting, it doesn't work in both cases. With gmail it hangs on password authentication according to log - the password IS correct, less secure apps is checked and critical login is confirmed. With my own smtp credentials - it supposedly sending test message, but it simply doesn't comply with CF7, there's an error while sending form and that's it. It is lightweight, which i really like but what of it if plugin doesn't work even on native settings? To dev: - if you fix it, then i will change my review. Latest WP, only your plugin and CF7, PHP 7.3 and default WordPress theme.
閱讀全部 39 則使用者評論


以下人員參與了開源軟體〈SMTP Mailer〉的開發相關工作。


SMTP Mailer 外掛目前已有 14 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 SMTP Mailer 外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Fixed an issue that could cause an Undefined variable error if $attachments was not set.


  • WordPress 5.7 compatibility update.


  • The password field can be left empty when updating the settings.


  • Updated the code to be compatible with WordPress 5.5.


  • SMTP Mailer is compatible with WordPress 5.3.


  • SMTP Mailer now checks for a valid nonce when sending a test email.


  • SMTP Mailer no longer shows the saved password in the settings.


  • SMTP Mailer is now compatible with WordPress 4.9.


  • Updated the mail() function by setting its minimum requirements to WordPress 4.8.
  • “phpmailer_init” action hook is now enabled so it can be used by other plugins.


  • Fixed a bug where an apostrophe in the password would cause SMTP authentication failure.


  • SMTP Mailer now supports the “wp_mail_failed” hook which fires after a phpmailerException is caught.
  • Added a new option to bypass this error on some servers where the SSL certificate is not properly configured – Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed.


  • First commit