ApocalypeX Posted February 1, 2010 Share Posted February 1, 2010 Can someone give me a really basic run through of how to set it up and I'm using a local host on my laptop. Does that mean I cant recieve emails?? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 1, 2010 Share Posted February 1, 2010 PHP doesn't have anything to do with receiving emails, only sending. That is, unless you're building an application specifically to connect to your mail account and check your mail. Otherwise, PHP just sends a message to a mail server for the mail server to deliver. That means that PHP needs access to a mail server to which it can give mail. If you're hosting this from home, chances are your home ISP does not allow mail servers, you would probably need to use your ISP's mail servers. Most of the time when you're running your own mail server you're doing so on a business hosting account or something that doesn't lock down the outgoing mail ports.These are the settings PHP uses with the mail function:http://www.php.net/manual/en/mail.configuration.php Link to comment Share on other sites More sharing options...
23.12.2012 Posted February 2, 2010 Share Posted February 2, 2010 If you're only planing to use your machine for learning PHP, I'd say the easiest way of doing it is installing XAMPP on Windows or Linux, and MAMP on OS X. If you need help enabling the local mail server, I'll give you a link to a tutorial I wrote once and seems to have helped many people who were struggling with that, but via PM. Link to comment Share on other sites More sharing options...
ApocalypeX Posted February 2, 2010 Author Share Posted February 2, 2010 Dont worry I understand now its more hassle then needed. I will just test mail tutorials on my free web server rather than bother using my local host on my laptop. But thank you guys. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.