Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

mail() function in php not working

CONFIGURE THESE SETUPS:

in your php.ini:
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = my-gmail-id@gmail.com
sendmail_path = ""C:xamppsendmailsendmail.exe" -t"


in your sendmail.ini
smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
auth_username=my-gmail-id@gmail.com
auth_password=my-gmail-password
force_sender=my-gmail-id@gmail.com
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #function #php #working
ADD COMMENT
Topic
Name
5+2 =