Insight Alternative Email plugin : or (Gmail keeps locking my accounts)


(Shannon Code (Ribbit)) #1

For some reason Gmail keeps locking my accounts used with insight. Is there an alternative?


(matias) #2

You can use local delivery (see http://blog.nodejitsu.com/sending-emails-in-node/) and send emails by yourself.


(Shannon Code (Ribbit)) #3

Is there some option or plugin for local delivery?


(matias) #4

Here is how you can do it:

Change: plugins/config-emailstore.js

+var smtpTransport = require('nodemailer-smtp-transport');
+
+var auth = {
+    host: 'localhost',
+    port: 25,
+ignoreTLS:true,
+};
+
 module.exports = {
-  email: {
-    service: 'Gmail',
-    auth: {
-      user: '',
-      pass: ''
-    }
-  }
+  confirmEmailHost: 'https://yourhost.com',
+  email: smtpTransport(auth),
 };
+