Trying to run a Java application on your Mac and need to set your JAVA_HOME? Follow the instructions below to quickly and easily do it: Open Terminal Confirm you have JDK by typing “which java”. It should show something like /usr/bin/java. Check you have the needed version of Java, by typing “java -version”. JAVA_HOME is…
Month: February 2012
Sending Authenticated SMTP Email with attachments using PHP – Pear Mail
We recently had to reconfigure how mail was being sent using PHP and oddly there were many sources out there that just didn’t seem to work. So here’s some sample code we put together that should work if you’re trying to send authenticated SMTP email with an attachment using Pear Mail.