Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Tuesday, May 05, 2009

Drubuntu setup

Starting to work with Ubuntu in developing Drupal sites I needed a little help getting started. I was able to get a great deal of information in setting up a LAMP server for developing multiple Drupal sites from this page.

This page gives even more information on setting up a Drubuntu (Drupal + Ubuntu) development environment. However, I had already been told of Wubi and I'm going to use Komodo Edit instead of Eclipse.

So far my Drupal stack is looking like this:


So far so good!

Saturday, December 27, 2008

Send email testing

Wanting to test the send email code before uploading my latest website I dug around for ways to test a send email script that I had written in PHP.

One suggestion is to code a public SMTP server information into the send script. Some popular public SMTP servers include Gmail or your ISP SMTP. GMail requires TLY encryption so the email library better support TLY to use the GMail option. My email library didn't, I am using the Email component in CakePHP. I didn't try my ISP SMTP because I was too lazy to call up the Time Warner to get my username and password.

Another option is to run your own SMTP server and run your emails through that. One program that does this is ArGoSoft Mail Server and others exist, especially in the Linux environment. While I liked that idea better I didn't really want to send my emails. I just wanted to make sure that they were getting to the SMTP correctly. I also was a little concerned that a spammer might take advantage of my temporary smtp server while I had my firewall open.

Finally I came across some "fake" smtp servers that are designed for testing send email scripts. A few of them include fakemail, dumpster, ndumpster, but I ended up using DevNull SMTP. DevNull SMTP is a Java application that can be loaded as an applet. No installation solution, HURRAY!

Happy testing send email scripts!