Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php mail in localhost wamp

1) Edit C:wampsendmailsendmail.ini:

smtp_server=smtp.gmail.com
smtp_port=465
auth_username=user@gmail.com
auth_password=your_password
2) Edit php.ini and set sendmail_path

sendmail_path = "C:wampsendmailsendmail.exe -t"
 
PREVIOUS NEXT
Tagged: #php #mail #localhost #wamp
ADD COMMENT
Topic
Name
8+2 =