Receive Email in Web App using Node.js

38 views
Skip to first unread message

Umair Shahid

unread,
Dec 10, 2016, 1:22:18 AM12/10/16
to nodejs
i need help here


i want that when any user send mail to admin then that mail should receive in web app instead of gmail or yahoo portal.

Ryan Schmidt

unread,
Dec 16, 2016, 11:20:56 PM12/16/16
to nod...@googlegroups.com

On Dec 9, 2016, at 1:17 AM, Umair Shahid wrote:

> i want that when any user send mail to admin then that mail should receive in web app instead of gmail or yahoo portal.

Mail can only be received by a mail server. You can certainly write your own mail server in node, but that sounds daunting and unnecessary. Just use an existing mail server, such as gmail or yahoo or whatever you want. Then, you can write much simpler code in node to retrieve mail from that server, for example on a set schedule. Or maybe there is a way to get the mail server to push new mails to you as they arrive, rather than making you poll for them.


Reply all
Reply to author
Forward
0 new messages