Return to site

Send from gmail for mac

broken image
broken image

I finally got PHP mail() working on my Mac. To do this, open up Terminal and enter in the following command: Step 1įirst, we need to create a Simple Authentication and Security Layer (SASL) password file.

broken image

Alternatively, you can use ‘vi’, ‘vim’ or ‘nano’ depending on what you are familiar with. I use TextMate as a text editor, so the following command line options use the ‘mate’ command. This process is much simpler if you don’t need SSL encryption when sending mail. I personally use Google Apps, so this process is for those also trying to authenticate through Gmail. Rather than do this process again when Apple releases a new upgrade, I decided to document the steps I took to get this working (more for a reference for myself, but also to help those with the same issues). Postfix is essential for my line of business where I send many emails through MAMP on my local machine.Īfter hours of updating settings and getting nowhere, I stumbled across a blog post that set me in the right direction. I recently upgraded my Mac to use Apple’s latest operating system, Mountain Lion, and in so doing, wiped out my postfix configuration that I had previously set up with advice from many different blogs.