Slide 25
Slide 25 text
@d
cf bind-service
$ cf create-service smtp shared outbound-email
$ cf bind-service my-node-app outbound-email
$ cf env my-node-app
"VCAP_SERVICES": {
"smtp": [
{
"binding_name": null,
"credentials": {
"host": "mail.authsmtp.com",
"password": "special-secret",
"port": 2525,
"username": "ac123456"
},
"instance_name": "outbound-email",
"label": "smtp",
"name": "outbound-email",
"plan": "shared",