Love2c0de Posted August 29, 2013 Share Posted August 29, 2013 Good evening, I seem to remember not being able to send emails on localhost. Is there a possible workaround? I've got no internet at home and want to test an email script. Kind regards, L2c. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/ Share on other sites More sharing options...
kicken Posted August 30, 2013 Share Posted August 30, 2013 You'd have to install some kind of smtp server or sendmail-like program. What OS are you using? Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447403 Share on other sites More sharing options...
Love2c0de Posted September 1, 2013 Author Share Posted September 1, 2013 Good afternoon, I'm on Windows 8 Pro. Thank for your reply. Kind regards, L2c. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447651 Share on other sites More sharing options...
jazzman1 Posted September 1, 2013 Share Posted September 1, 2013 A virtualization software and running some Linux distros, it would be great for you. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447690 Share on other sites More sharing options...
Irate Posted September 1, 2013 Share Posted September 1, 2013 Gmail has some SMTP solutions, you could try there. That'd of course require an internet connection, but so do the Linux distributions... well, generally everything with emails. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447706 Share on other sites More sharing options...
Love2c0de Posted September 1, 2013 Author Share Posted September 1, 2013 Good evening, I see so it is possible but would require some setup. I've been developing live for the last few weeks but is handy to know when I need to go local! Kind regards, L2c. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447720 Share on other sites More sharing options...
jazzman1 Posted September 1, 2013 Share Posted September 1, 2013 Any previous experience with VM (virtual machines)? Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447726 Share on other sites More sharing options...
Love2c0de Posted September 1, 2013 Author Share Posted September 1, 2013 Good evening, No never any experience with them. Can you post a link to a tutorial/resource. Searched Google but don't know what I'm specifically looking for. Kind regards, L2c. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447729 Share on other sites More sharing options...
Irate Posted September 1, 2013 Share Posted September 1, 2013 Look for VirtualBox by Oracle, that's the one I use. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447732 Share on other sites More sharing options...
Love2c0de Posted September 2, 2013 Author Share Posted September 2, 2013 Good morning, I'm just thinking about my computer resources and I'm thinking I'm going to have to invest in a desktop to run all these extra programs. Got many programs on a half decent laptop but it's starting to take it's toll in terms of performance. Would be very handy as I've spent the last 3 weeks in my new flat with no internet so it would have been very handy to have then as I was writing 2 email scripts at the time. Can anyone link me to a page for cheap desktop computers and give me a price range of what's expensive and what's not as I'm a first time buyer. I want add ons like Excel, Word, Outlook for work purposes and something which I can game on, but more importantly something I can develop on. Thanks for your time. Kind regards, L2c. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447788 Share on other sites More sharing options...
Irate Posted September 2, 2013 Share Posted September 2, 2013 Do you want to develop online? If so, your OS does not matter at all, it's probably just conventions you need to come up with - for example, I am using a school Mac right now with a Mac keyboard, and I find it quite unusual to type on it, I remember all they key codes but they're not even displayed on the keyboard. Another thing is the locations of z and y, like, Germany uses qwertz, America uses qwerty, and I always get those two confused when I'm out of country. If you are developing for operating systems like Windows, Linux, Ubuntu or MacOS, then I do actually recommend getting either Ubuntu or Linux, as those have the most support from developers for users (in my opinion, that is). Also, Linux comes along with integrated Perl support, so if you want to use Perl without having to download anything, go for that. In the end, it's all personal choice, and you are subject to your own preferences. I for example am so used to Windows systems that I wouldn't get anything else from Windows desktops. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447802 Share on other sites More sharing options...
objnoob Posted September 2, 2013 Share Posted September 2, 2013 To test email locally, you need to locally install a mail server on your machine. You can use Apache's James project for this. http://james.apache.org/server/ Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447805 Share on other sites More sharing options...
jazzman1 Posted September 2, 2013 Share Posted September 2, 2013 (edited) You don't need to have internet at home neither а home network to send emails locally. Just install VmWare or VM Virtual Box by Sun software as Irate mentioned above, then install two linux distros inside this virtual box. Make a connection between them and simulate a real network. You can create samba, ftp, http, mail servers and so on, so on... for your training purposes. That's all and free of charge Edited September 2, 2013 by jazzman1 Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447808 Share on other sites More sharing options...
objnoob Posted September 2, 2013 Share Posted September 2, 2013 http://en.wikipedia.org/wiki/Loopback way easier. Quote Link to comment https://forums.phpfreaks.com/topic/281682-testing-an-email-locally-possible/#findComment-1447811 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.