Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Email integration

I was wondering if someone could help me out. In some web application, the app will send out emails, say when a new message has been posted. Then instead of signing into the application to post a reply you can just simply reply to the email and it will automatically update the web app with your response.

My question is, how is this done and what is it called?

Thanks

like image 977
Joe Avatar asked Mar 13 '09 00:03

Joe


People also ask

What is email integration in CRM?

What is Email Integration? Email integration in your CRM lets you automatically capture your messages to and from your contacts to your Account Activities. Once set up, any messages exchanged between your CRM Users and your CRM Contacts are recorded to the account timeline.

What is 2 way email integration?

What is Two Way Email Integration? Two Way Email Integration allows to record or save email replies from candidates, and the system is now easier to use. Before this update, the existing email system only provided one-way communication.


1 Answers

Generally:

1) Set up a dedicated email account for the purpose.

2) Have a programm monitor the mailbox (let's say fetchmail, since that's what I do).

3) When an email arrives at the account, fetchmail downloads the email, writes it to disk, and calls script or program you have written with the email file as an argument.

4) Your script or program parses the email and takes an appropriate action.

The part that's usually mysterious to people is the fetchmail part (#2).

Specifically on Mail Servers (iff you control the mailserver enough to redirect emails to scripts):

1-3) Configure an address to be piped to a script you have written.

4) Same as above.

like image 151
Nathan Stocks Avatar answered Oct 30 '22 06:10

Nathan Stocks