note 118210 added to function.mail

From: Date: Mon, 26 Oct 2015 18:05:42 +0000
Subject: note 118210 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-204034@lists.php.net to get a copy of this message
I have tried many online tutorials to get mail() function working in windows, until i stumbled upon this website http://php.codeindepth.com/php-sending-mail/ It really boils down to changing few directives in php.ini and sendmail.ini Changes required in sendmail.ini smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log debug_logfile=debug.log auth_username=your-gmail-id@gmail.com auth_password=your-gmail-password force_sender=your-gmail-id@gmail.com Changes required in php.ini SMTP=smtp.gmail.com smtp_port=587 sendmail_from = your-gmail-id@gmail.com sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t" ;sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe" ---- Server IP: 72.52.91.14 Probable Submitter: 112.196.129.219 ---- Manual Page -- http://php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/118210 Del: integrated -- https://master.php.net/note/delete/118210/integrated Del: useless -- https://master.php.net/note/delete/118210/useless Del: bad code -- https://master.php.net/note/delete/118210/bad+code Del: spam -- https://master.php.net/note/delete/118210/spam Del: non-english -- https://master.php.net/note/delete/118210/non-english Del: in docs -- https://master.php.net/note/delete/118210/in+docs Del: other reasons-- https://master.php.net/note/delete/118210 Reject -- https://master.php.net/note/reject/118210 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204034) next »