-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Steps to reproduce
lb4 datasource
? Datasource name: mail
? Select the connector for mail: Email (supported by StrongLoop)
? An array of transport configuration objects: [ { "type": "SMTP", "host": "smtp.gmail.com", "secure": true, "port": 465, "tls": { "rejectUnauthorized": false }, "auth": { "user": "name@gmail.com", "pass": "pass" } } ]
index.ts:
export async function main(options: ApplicationConfig = {}) {
const app = new MaillingApplication(options);
await app.boot();
await app.start();
const url = app.restServer.url;
console.log(`Server is running at ${url}`);
console.log(`Try ${url}/ping`);
let mailer = new MailDataSource;
console.log('mailer.connector: ', mailer.connector); // undefined
return app;
}See Reporting Issues for more tips on writing good issues
Metadata
Metadata
Assignees
Labels
No labels