2013-11-09 4 views
0

mail() 함수를 사용하도록 PHP 용 xampp 서버를 구성 할 수있는 방법이 있습니까? 그렇지 않다면 PHP의 mail() 기능을 테스트하기 위해 설치할 수있는 로컬 메일 서버가 있습니까? 이메일을 보내도록 xampp 서버를 구성 하시겠습니까?

; 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" 

php.ini의

+0

[로컬 호스트에서 메일을 보내도록 XAMPP을 구성하는 방법?] (http://stackoverflow.com/questions/15965376/how-to-configure-xampp-to-send-mail-from-localhost) – kero

답변

0

그냥 처음 sendmail_path의 주석을 해제하고 mailToDisk 옵션을 주석 처리합니다.

관련 문제