WP SMTP 能協助網站管理員以 SMTP 通訊協定取代 PHP 的 mail() 函式傳送電子郵件。
請前往 [控制台]→[設定]→[WP SMTP] 進行電子郵件伺服器相關設定,這個設定頁面有多項設定範例,點擊對應的圖示即可檢視相關設定,例如 Gmail、Yahoo、Microsoft、163 及 QQ。
如果 [寄件者電子郵件地址] 欄位中不是有效的電子郵件地址,或 [SMTP 伺服器] 欄位留空,這個外掛便無法為 wp_mail() 函式進行組態。


WP SMTP 原先的開發者為 BoLiQuan,目前由 WPOmnia 接續開發。


  1. wp-smtp.zip 解壓縮後得到的資料夾含全部檔案,上傳至網站的 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  3. 前往 [控制台]→[設定]→[WP SMTP]。


  • 主要設定
  • 電子郵件測試設定
  • 電子郵件記錄
  • 收合以顯示電子郵件內容
  • 選取資料列以便進行刪除


  1. wp-smtp.zip 解壓縮後得到的資料夾含全部檔案,上傳至網站的 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  3. 前往 [控制台]→[設定]→[WP SMTP]。


如有需要協助之處,請前往 https://wordpress.org/support/plugin/wp-smtp 尋求協助。


2024 年 6 月 6 日
SMTP Error: Could not authenticate. gmail. It’s not working. I think it’s google crap. When configuring the plugin, it does not display Google’s “approval” window, which in recent years necessarily appears when configuring mail clients.
2023 年 11 月 15 日
simply awesome. very easy to config and test mail service.
2022 年 4 月 23 日 1 則留言
With the addition of a default Reply-To, it would be perfect for the websites I install SMTP plugins on.
2022 年 4 月 21 日 1 則留言
Settings got messed up upon automatic update without any kind of alert/notification for re-entering the login/authentication details. No wp-mail fallback when settings got misconfigured. One whole week of emails lost and complaints from our customers. Thank you
2022 年 4 月 18 日 3 則留言
In the most recent update around April 2022, they pushed a release that made the plugin not work because the update erased your credentials. And they admit knowing it would happen. But there was no warning, no note to make note of your credentials before the update. Many other plugins push warnings like “Major update – backup your site before updating” or “This update is not backward compatible with the last version”. They could have done something like that. THEN they keep saying this isn’t an issue, as if they have no responsibility for this, and it is not their fault. How is NONE OF MY EMAILS ARE SENT after the update not an issue??? Yes this IS your fault, because all I did was update. The plugin has one job to send emails and after updating this doesn’t happen. Yes it can be fixed and sure it’s a good thing to encrypt the credentials, but my site and many others went a week or more without sending out any emails. Because they didn’t warn us that we had to do other things for it to work. Read the support tickets for April 2022, you’ll see so many people reported this. And they just kept saying “Not an issue”. So now I can’t trust them for future updates to not just break the plugin and not tell me.
閱讀全部 47 則使用者評論


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


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

將〈WP SMTP〉外掛本地化為台灣繁體中文版


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



Updated: security improvements.


Updated: Plugin author to reflect ownership changes.


Fixed: base64_encoding problem for passwords and users that may appear that they are already in base64_encoding but in reality they are not ( https://github.com/WPChill/wp-smtp/issues/7 )
Changed: Removed CDN files and added them locally ( https://github.com/WPChill/wp-smtp/issues/8 )

1.2.4 – 15.04.2022 –

Changed: Added base64 encode for username and passwords ( https://github.com/WPChill/wp-smtp/issues/2 )
Added: Setting to disable the email logging. ( https://github.com/WPChill/wp-smtp/issues/3 )


Fix auto loading require path


Just update info


Fixed: handle the mail parts as needed


New and shiny mail logger.


All good, still maintained, just update some info


New maintainer – yehudah

  • Code structure and organize.
  • Credentials can now be configured inside wp-config.php


  • Some optimization


  • Using a nonce to increase security.


  • Add Yahoo! example
  • Some optimization


  • Some optimization


  • If the field “From” was not a valid email address, or the field “Host” was left blank, it will not reconfigure the wp_mail() function.
  • Add some reminders.


  • If “SMTP Authentication” was set to no, the values “Username””Password” are ignored.


  • First release.