[教學] 在 windows locahlost 透過 Gmail SMTP server 寄信 ( 使用 phpmailer )
通常在租用主機環境,都會處理好mail server所需的相關設定,
如果在開發過程中,可以在local端就能測試寄發email效果,對開發者而言,一定會更加方便
因此,本文主要說明在 windows 本地 localhost( 127.0.0.1)
如何使用 phpmailer 來透過 GMAIL SMTP server 寄信

通常在租用主機環境,都會處理好mail server所需的相關設定,
如果在開發過程中,可以在local端就能測試寄發email效果,對開發者而言,一定會更加方便
因此,本文主要說明在 windows 本地 localhost( 127.0.0.1)
如何使用 phpmailer 來透過 GMAIL SMTP server 寄信