Php 是否配置xampp服务器以发送电子邮件?
是否有一种方法可以配置xampp server for PHP以启用mail()函数。如果没有,那么我是否可以安装本地邮件服务器来测试PHP的mail()功能?在PHP.ini上Php 是否配置xampp服务器以发送电子邮件?,php,email,xampp,Php,Email,Xampp,是否有一种方法可以配置xampp server for PHP以启用mail()函数。如果没有,那么我是否可以安装本地邮件服务器来测试PHP的mail()功能?在PHP.ini上 ; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder) ;sendmail_path = "\"G:\xampp\se
; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)
;sendmail_path = "\"G:\xampp\sendmail\sendmail.exe\" -t"
; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the G:\xampp\mailoutput folder
sendmail_path="G:\xampp\mailtodisk\mailtodisk.exe"
只需取消对第一个sendmail路径和comment mailToDisk选项的注释。