Importing Email Into A FileMaker Database

Bookmark and Share

Email is a hairy subject. Not just because we have POP, IMAP and SMTP servers to deal with, but also ports, authentication, port restrictions by ISPs, syncing problems, etc.

I generally tell users to sick to their email programs, if that’s an option.

There are certainly some times when it’s worth dealing with it and that call, my friend, you will have to make. I can tell you I once implemented HTML sending for mass-mailing purposes, and it worked really well, we even tagged the client we sent the email for and kept the campaigns, as well as created join records for the email recipients so we could track history. Of course, this was before the day of MailChimp (which we are using). I love MailChimp and there’s no need to reinvent the wheel so I can reproduce something in FileMaker.

I however, have a client who wanted to see emails sent to and received from clients’ contacts for all employees of the firm, also see them from the job’s perspective: because the previous software (DayLite) he was using did integrate email with his project management. So, I looked at different options and decided to use mail.it.

There are other options out there, but I used mail.it before so I stuck with it and I do not regret it. I had a couple of gotchas along the way (e.g. deleting emails from the server for multiple servers), but all’s well that ends well. Customer support at dacons.net is also excellent with a support forum. Their turn-around was not the quickest, but that’s not really their fault, because we have a 6 hour time-difference.

I think, at the end I accomplished creating an interface that acts and looks like an email client. I am using the webviewer to show the message as HTML. Attachments show up, and you have two options: 1. you can hold down the option key to view them in a new window or you can download them. Attachments are NOT stored in the database. Attachment handling is accomplished with SuperContainer by 360 Works.

Viewing emails in FileMaker

 

Of course, email receiving will be accomplished from the server side. It will run at a 5-minutes interval, just as if you had it in an email client.

Related posts you might be interested in reading:

  1. Importing RSS Feed Into FileMaker with XSLT Update: Per popular request I am revisiting this article. I made some...
  2. Demo of the FMTouch iPhone App with a FileMaker database agnes-riley-fmtouch-presentation Photo by Sandy Hechtman December 11, 2008: Agnes Riley presented a...
  3. Top 10 Suggestions If You Want To Hack At A Database Yourself – For In-house FileMaker Developers All FileMaker developers start somewhere, and that place is definitely not being...
  • http://twitter.com/oceanwest Stephen Dolenski

    Hi Agnes, good article – I to have been doing this using IMAP mail – I have had to setup a log table that creates a record with the ID’s necessary to touch the email again with an expiration date today + 14. Then FM Server every night runs a server side script that finds all records in this table ≤ the current date and the loops thru and prunes records from the IMAP server. In this particular case it’s a generic email account – not a person’s account.

  • http://twitter.com/oceanwest Stephen Dolenski

    I am also looking at a different method – if you have control of your mail servers. With http://www.dbmail.org/ then using FMP and ESS you could just manage or import the email as needed it to Filemaker. Excerpt: DBMail is made up of several components. A normal MTA (Postfix, SendMail, QMail, Exim) is used for accepting messages. The MTA hands the messages over to dbmail-deliver, using a pipe interface, or to dbmail-lmtpd, using LMTP (Local Mail Transport Protocol).These programs take care of injecting the message into the database. Messages can be retreived from the database using dbmail-pop3d, using the POP3 protocol, or dbmail-imapd, using the IMAP4Rev1 protocol.
    Emails are stored in the database. This includes attachments. User information is also stored in the database, so users do not need a system account on machines DBMail is running on.

  • http://www.zerobluetech.com/ Agnes Riley

    Thanks! Sounds interesting. Most people (including me) receive email on multiple platforms/machines. So, I wonder how this would work with iOS…

  • http://twitter.com/Graffiteria Karen Stella

    Great use for Mail.it! I love the product, and the excellent support that comes with.


Client Testimonials

  • “Although the database (which was essentially the lifeline of our business) was not easily recoverable, Agnes did not give up and was able to recover our files after many attempts and hour of persistence Not only did she recover our files, she guided us through the recovery, updated us to present and prepared us so that will never happen again.”

    Chelsea Communications

  • “ZeroBlue translated our needs and ideas into a very attractive, functional, and professional website that is well received by our collaborators and the investment community.”

    Advaxis, Pharmaceutical Company

  • “I received very detailed summaries of the hours that were worked on; which is not always the case with other developers I have worked with. Always available and clearly willing to go the extra mile to make us happy.”

    LPM, Packaging Products

Latest Tweets

Certification logos