jpacs Posted October 30, 2009 Share Posted October 30, 2009 Hello to all! Can you please teach me on how to send email message using php and a local pc. What do i need to setup on my computer? I am using WAMP 2.x. Please give me any idea. Thanks and God Bless. Chill Link to comment https://forums.phpfreaks.com/topic/179579-help-on-sending-mail-using-a-local-pc/ Share on other sites More sharing options...
jaisol99 Posted October 30, 2009 Share Posted October 30, 2009 There are various ways of sending emails using php, eg sendmail() http://php.net/manual/en/function.mail.php If your running a WAMP package, follow their instructions. Basicaly, when I set mine up I followed the instructions, and the admin package that creates different websites sorts out the emails. Do a google search for ISPCONFIG they may have a windows version now. I played around with setting up a web server using windows and gave up early on, I found a free program called phpxmail that works with windows as a MTA, from memory it was easy to set up and get working. I gave up with windows because of security issues and almost all programs cost money, I was doing it for fun. Linux is the way to go and it way better supported than windows. Find out what mail transport agent your using (MTA), try sending an email using it, you'll probably find that your blocked. I'd be very suprised if you can send out email from your own pc directly. I have a LAMP setup (linux) and route emails through a 'proper' ISP by using a script to talk directly with their mail server. I could only use sendmail() with web sites hosted by them. If your setting up a WAMP for programing, you may want to have a look at eclipse, that is a php development enviroment, and its pretty simple to set up, but does not have email features. What are you tring to do with your WAMP package, I'm new to PHP so someone else may have more ideas. but I'll try to point you in the right direction if I can. Link to comment https://forums.phpfreaks.com/topic/179579-help-on-sending-mail-using-a-local-pc/#findComment-947594 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.