mail function php not working

Solutions on MaxInterview for mail function php not working by the best coders in the world

showing results for - "mail function php not working"
Alexander
04 Nov 2017
1CONFIGURE THESE SETUPS:
2
3in your php.ini:
4SMTP=smtp.gmail.com
5smtp_port=587
6sendmail_from = my-gmail-id@gmail.com
7sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
8
9
10in your sendmail.ini
11smtp_server=smtp.gmail.com
12smtp_port=587
13error_logfile=error.log
14debug_logfile=debug.log
15auth_username=my-gmail-id@gmail.com
16auth_password=my-gmail-password
17force_sender=my-gmail-id@gmail.com
18
Giorgia
12 Oct 2016
1Although there are portions of this answer that apply to only to the usage of themail() function itself, many of these troubleshooting steps can be applied to any PHP mailing system.
2
3There are a variety of reasons your script appears to not be sending emails. It's difficult to diagnose these things unless there is an obvious syntax error. Without one you need to run through the checklist below to find any potential pitfalls you may be encountering.
queries leading to this page
mail function not working in php locahostphp mail function not workingmail is not sending mail phpphp mail function not working on localhostmail 28 29 php not workingnot getting mails with php mail functionphp mail function is working but not getting emailphp mail is not working in servermail php not working on servermail function in php doesn 27t work in productionhtml not work in php mail 28 29mail does not work phpemail by mail function is not working in phpphp send mail not working with 22http 22php mail function not working cpanelphp mail function not working with domain addressesphp mail not working localsend mail using php not workingphp send mail not workingphp mail not sending emailphp mail function not working on servermail function not working in localhost phpphp mail 28 29 not workingmail not sent php functionphp mail not sendingphp mail function wordpress not workingmail is not sending in phpphp in mail snt not workingmail function in php not working on serverphp mail if not workingmail function not working in phpmail 28 29 function in php doesn 27t work in productionmail function not working phpphp mail 28 29 on not workingmail 28 29 not working in phpmail fucntion not working phpmail is not working on phpmail php not workingphp html mail not workingmail 28 29 not working in phpphp send email not workingmail php function not workingphp mailer not workingsend email php not workingmail not sending in phpphp send mail is not working on serverphp send mail not workingmail code not working in server in phpphp email not sendinghtml not working in mail phpphp mail function not working localhostphp mail does not workwhy php mailer not send mail on organition mailnot send mail using simple mail function in phpphp mail 28 29 function not workingafter adding from in mail function is not working in phpmail php html tag not workinghtml not working php mailerfunction mail php doesn 27t workphp mail function not worksmail function doesn 27t work phpphp mail not working on servercc in mail in php is not workingphp mail function not work on prodphp mail not workingphp mail function not sending emailmail function is not working in phpmail not sending from server in phpphp mail is not workingmail function php not workingmail 28 29 not sending email phpmail php not sendingmail function in php not workingfunction mail php doesn 27t work in serverphp mail function doesn 27t send anythingmail in php not workingphp in setn mail not workingphp 7 mail not workingphp email not workingmail function not working in php my adminmail function in php not working on windows serverfrom mail in php is not workingphp mailto function not workingmail function not working in php hostingersend mail in php not workingmail function working but mail is not sending in phpwhy mail is not sending in phpwhy is my mail func not working phpwhy php mail function not workinghow to check mail function is working or not in phpmail function php not working