Configuration is stored in data/email.json.
Example of Google Mail SMTP delivery:
{
"admin": ["Your Self", "you@domain.com"],
"smtp": {
"secure": "ssl",
"host": "smtp.gmail.com",
"port": 465,
"username": "my.account@gmail.com",
"password": "secret"
}
}
Example of sending mail using the convenience method "compose":
GBMail::compose('Hello', 'This is a mail', array('John Doe', 'john@doe.com'))->send();