In the end it seems that the problem was one of configuring a mail server.
I followed a quick tutorial found on youtube for the purpose of sending an uncomplicated email to myself -- which failed at first.
Here's the link:
http://www.youtube.com/watch?v=DpdqLCMo4Hw
The problem that was occurring was that I needed to set a value for the SMTP, which I did by adding the line
Code:
ini_set("SMTP", "smtp.gmail.com")
I didn't know I had to specify an outgoing mail server. This was easy enough as my existing gmail account could be used.
After I ran the script, I received the email successfully. Interestingly enough, I also received about twenty other email attempts that had been waiting for a correct path to open.
Probably a rookie mistake, but I happily pass along a solution that worked for me.