testing forms; sending email
Posted: 04. January 2008 11:26
How can I set up XAMPP for testing forms that send email results? I'd like to be able to check that all the form data is sent to the approriate email addresses (my eamails)
https://community.apachefriends.org/f/
https://community.apachefriends.org/f/viewtopic.php?f=16&t=27900
elvisparsley wrote:How can I set up XAMPP for testing forms that send email results? I'd like to be able to check that all the form data is sent to the approriate email addresses (my eamails)
Izzy wrote:[mail function]
; For Win32 only.
SMTP = smtp.myisp.com
smtp_port = 25
; For Win32 only.
sendmail_from = me@myisp.com
I would have thought that uncommenting the sendmail_from item would have been fairly obvious.
BTW you only need to change values or uncomment items in xampp\apache\bin\php.ini - all other php.ini files are irrelevant and will be ignored.
The path to the ini used can be found in here
http://localhost/xampp/phpinfo.php
and copy/paste those lines to xampp\apache\php\php.ini (they are missed in this php.ini)
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
Izzy wrote:In my xampp\apache\bin\php.ini file those lines are near line number 693 in this settings block just under the list of extensions:
[code];;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
It may be better to download the new version and install xampp from new.