Accepting Cross Domain Requests In Sails.Js Builtin Rest API & Custom Controller Actions

In Sails.Js By Default the cross-domain API calls are restricted but you can enable/accept JSONP calls by changing jsonp: true in config/controllers.js file.Now you are free to make the built in Sails.js API calls from any other server to your Sails.js App.

Continue reading “Accepting Cross Domain Requests In Sails.Js Builtin Rest API & Custom Controller Actions”

Integrating Imap Features Into Web App For A Gmail Mailbox

Hope you already have basic understanding of what Imap is. if not go here

Basically what i am explaining here will be a way to access mails from a gmail email mailbox into your application, save mail information to a batabase table, saving the replays, send reply from application, move certain mails to certain folders in gmail from application itself etc.

Continue reading “Integrating Imap Features Into Web App For A Gmail Mailbox”