Avatar of Benji_
Benji_
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Storing Emails in a DB

Hello,

I am wondering what the best way to store information is.. we have a script that downloads mail from an IMAP server at set intervals.

We need to store  the   To, From, Date/time, Body (HTML),Body (Plain Text), Company ID

I have been browsing the best way whether Mysql / DynamoDB NoSQL kind of solution is best.

What would you guys advise to be a way to store this information for read access.

If so what field types would be the best to use?

Regards
Ben
MySQL ServerDatabasesPHP

Avatar of undefined
Last Comment
Tomas Helgi Johannsson

8/22/2022 - Mon
Ganapathi

How will you enter the values?
ASKER CERTIFIED SOLUTION
Gottler

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Benji_

ASKER
Hey,

Data will be entered via a PHP script on a cronjob.

Body of that data could be above 64k, We will be storing around 150k+ emails in the DB.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Your help has saved me hundreds of hours of internet surfing.
fblack61