Sample Header Ad - 728x90

send mail from php

-2 votes
1 answer
232 views
I was trying to send mail. It's not working I don't know why. I am not getting any error either. I am not getting any mail. I tried by different email addresses also.. Should I edit any file in lampp/xampp? var_dump is always returning bool(false) I have changed some code in php.ini [mail function] ; For Win32 only. ; http://php.net/smtp SMTP=localhost ; http://php.net/smtp-port smtp_port=25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = Istiakshovon011@gmail.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters = ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename mail.add_x_header=On ; Log all mail() calls including the full path of the script, line #, to address and headers ;mail.log = Although I am having the same issue
Asked by user449077
Mar 30, 2021, 10:25 AM
Last activity: Mar 30, 2021, 10:41 AM