Skip to content

Commit

Permalink
fix cr
Browse files Browse the repository at this point in the history
  • Loading branch information
danielamihalache committed Dec 9, 2013
1 parent 4466c74 commit a62b857
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Expand Up @@ -23,16 +23,11 @@ Create custom environment variables in OpenShift
```
rhc set-env sendgrid_user=<username> sendgrid_password=<password> -a sendgrid
```
Set username and password based on what you used to sign up for a Sendgrid account and use the application name used to create your app.
Set username and password based on what you used to sign up for a SendGrid account and use the application name used to create your app.

###Configuration###
Configure `php/send_email.php` file with your information:

Update the username and password with your SendGrid credentials from environment variables.
```php
$sendgrid = new SendGrid($_ENV["sendgrid_user"], $_ENV["sendgrid_password"]);
```

Update your email address, subject, text content and html content:
```php
$mail->
Expand Down

0 comments on commit a62b857

Please sign in to comment.