Mail Server Solution(2)Camel Test and NodeJS Mailin
1. dyn emails
https://help.dyn.com/email-api/
It supports to send email, but not mange incoming emails.
2. Investigate on Camel
I get a project set up in sillycat-camel. It is a very good project, but it seems to me that it does not designed to do that.
Error Message:
Protocol smtp cannot be used for a MailConsumer. Please use another protocol such as pop3 or imap.
Solution:
Camel does not support use smtp as a consumer endpoint.
SendGrid
We are going to use SendGrid for company.
NodeJS OpenSource Solution
https://github.com/andris9/smtp-server smtp-server
https://github.com/andris9/smtp-connection smtp-client
https://github.com/andris9/simplesmtp deprecated
https://github.com/andris9/mailparser mail parse
http://mailin.io/ smtp to post server
https://github.com/eleith/emailjs send email
Mailin is using mailparse to parse the email, it supports to fetch the attachment files. Then it depends on simplesmtp to handle the smtp server side protocol. Then it post the form with the attachment to the URL you provide there.
Try to Install mailing on my raspberry
> node --version
v0.12.1
> python --version
Python 2.7.3
> sudo apt-get install spamassassin
> sudo vi /etc/default/spamassassin
ENABLED=1
Install the mailin server
> sudo npm install -g mailin
I am using HTTP mock Server
http://requestb.in/zye6onzy
Start the SMTP Server
> sudo mailin --webhook http://requestb.in/zye6onzy