farnoise Posted December 4, 2009 Share Posted December 4, 2009 Hey guys, I configed my Apache, to load .php formats. Everything works fine. I added the mail() function to php.ini I had some troubles with that too, but got it done, Now when I want to send a form to my email it sends the data from from.html to proccessor.php and I dont see any errors I even see the thank_you.htm page that confirms the message but I can't recieve the email. I dont think there is something wrong with my SMTP setings cuz if it was I should see the error message. Anyway If anybody can help me That would be great, If not can anybody tells me how can I setup PHP to send my emails through remote smtp servers (Like Yahoo or whatever) I dont care where I just want to recieve those emails Thanks Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/ Share on other sites More sharing options...
JonnoTheDev Posted December 4, 2009 Share Posted December 4, 2009 I dont think there is something wrong with my SMTP setings cuz if it was I should see the error message. Anyway If anybody can help me That would be great, If not can anybody tells me how can I setup PHP to send my emails through remote smtp servers (Like Yahoo or whatever) I dont care where I just want to recieve those emails The mail() function will not work on a windows xp local desktop as there is no mail transfer agent available for php to use i.e sendmail on a webserver. You can use a Yahoo, Gmail or whatever SMTP server but unfortunately they require authentication which you cannot supply in your php configuration. So the answer is to use a library that can support SMTP i.e http://pear.php.net/package/Mail http://swiftmailer.org/ Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971384 Share on other sites More sharing options...
farnoise Posted December 4, 2009 Author Share Posted December 4, 2009 Thanks Bud, But as a stupid question !!! What I should with this file now !!???? It has some php files in it. Thanks again Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971410 Share on other sites More sharing options...
JonnoTheDev Posted December 4, 2009 Share Posted December 4, 2009 But as a stupid question !!! What I should with this file now !!???? eh? Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971414 Share on other sites More sharing options...
farnoise Posted December 4, 2009 Author Share Posted December 4, 2009 What should I do with these files?! Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971418 Share on other sites More sharing options...
JonnoTheDev Posted December 4, 2009 Share Posted December 4, 2009 What files? Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971419 Share on other sites More sharing options...
farnoise Posted December 4, 2009 Author Share Posted December 4, 2009 I opend this link http://pear.php.net/package/Mail And I download 1.1.14 (stable) was released on 2006-10-11 Now I have a ZIP package oin my desktop with bunch of PHP files in it ... I thought it's what I was suppose to do!! Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971423 Share on other sites More sharing options...
JonnoTheDev Posted December 4, 2009 Share Posted December 4, 2009 Read this http://bytes.com/topic/php/answers/519599-problems-installing-pear-winxp Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971427 Share on other sites More sharing options...
farnoise Posted December 4, 2009 Author Share Posted December 4, 2009 WONDERfulllll!!! Thanks a lot Link to comment https://forums.phpfreaks.com/topic/184000-php-mail-is-not-working-on-my-apache-localhost-win-xp/#findComment-971436 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.