contra10 Posted February 20, 2009 Share Posted February 20, 2009 i'm trying to test emails using the wamp server, where should i start? i've located my php.ini file should i change stuff in that or should i dl something like PEAR, if so how to i set it up with wamp Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/ Share on other sites More sharing options...
farkewie Posted February 20, 2009 Share Posted February 20, 2009 Edit your PHP.ini, as below making your you remove the " ; " from the starts of the lines as i have below then restart the server [mail function] ; For Win32 only. SMTP = mail.myisp.com smtp_port = 25 ; For Win32 only. sendmail_from = me@myaddy.com Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/#findComment-766665 Share on other sites More sharing options...
contra10 Posted February 20, 2009 Author Share Posted February 20, 2009 ok so i changed it...how can i view email now...i can't view it from hotmail...cause it is offline Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/#findComment-766669 Share on other sites More sharing options...
MatthewJ Posted February 20, 2009 Share Posted February 20, 2009 You would need to make sure you have an smtp server running on the same machine... Which WAMP may do (unfamiliar with it). Then you use the php mail() function to send an email to your hotmail address... if there is no internet connection, that is a problem in delivering mail Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/#findComment-766671 Share on other sites More sharing options...
farkewie Posted February 20, 2009 Share Posted February 20, 2009 I don't know much about WAMP but i use XAMPP and i know they have a mail server built in for testing that you can configure outlook to connect to. and it can all be done ofline. you would need to go to their website to check it out. Its not really a php issue. http://www.apachefriends.org/en/xampp-windows.html Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/#findComment-766672 Share on other sites More sharing options...
contra10 Posted February 20, 2009 Author Share Posted February 20, 2009 ...arg...i shouldn't have went with WAMP k so the smtp is the problem as i get this 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:\wamp\www\forum\addtopic.php on line 65 so i have to run on same port as an smtp...i'm going to dl one...any suggestions Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/#findComment-766674 Share on other sites More sharing options...
premiso Posted February 20, 2009 Share Posted February 20, 2009 imo, google phpGMailer then signup for a gmail account and use that. Much easier for testing locally. Limited to sending 100 emails per day, as a warning. Quote Link to comment https://forums.phpfreaks.com/topic/146040-email-testing-in-wamp-server/#findComment-766677 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.