This git repository helps you to send emails quickly and easily through SendGrid on Google App Engine using PHP.
Create an SendGrid account at http://sendgrid.com/pricing.html
Create an account at https://appengine.google.com/ and set up your local machine with the client tools https://developers.google.com/appengine/docs/php/gettingstarted/installing
Create an application at https://appengine.google.com/start/createapp
Clone SendGrid application on your local machine
git clone https://github.com/sendgrid/google-php-sample-app
###Configuration###
Configure index.php
file with your information:
Update the <sendgrid_username> and <sendgrid_password> with your SendGrid credentials.
$sendgrid_username = '<sendgrid_username>';
$sendgrid_password = '<sendgrid_password>';
Update the <from_address> with your email address
$from_email = "<from_address>";
Update application identifier in app.yaml
file
application: application_identifier
Upload your application to Google App Engine: https://developers.google.com/appengine/docs/php/gettingstarted/uploading
That's it, you can now checkout your application at:
http://application_identifier.appspot.com/