Using XAMPP 1.7.7 on windows 7 home. PHP 5.3.8
Apache is set up as i can see the front page when typing localhost. Can anyone help me out in the following issues i ma facing;
I was trying to create a form on my website with the input sent to me in my email. But there is a error when i load the php page as seen below on screen;
Undefined index: username in C:\xampp\htdocs\Attila\contact.php on line 98
And then when i complete the form and click send i recieve the following;
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\Attila\contact.php on line 134
Here is the php.ini file
; For Win32 only.
; http://php.net/smtp
SMTP = info@mydomain.com
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = Dont know what should go here
Also on the XAMPP localhost page SMTP is listed as de-activated, how do i activate this.