Check out this awesome tutorial on using SendGrid with OpenShift. It provides information and examples on getting SendGrid and OpenShift working together including getting started (complete with PHP examples!).

As always, check out our blog on more info on the best way to get the most out of SendGrid and OpenShift here