Jump to content

Archived

This topic is now archived and is closed to further replies.

quasiman

pop3 import to mysql - multiple recipients

Recommended Posts

This is more of an advice question than coding...

I have a catchall@domain.com email address importing into 2 tables (one for messages, another for attachments).  I can remove the domain.com part of an email to import only the user name, and then use that to only let users see emails associated to their name - IE: user login "Bill" can only see emails sent to bill@domain.com.
But if an email is sent to more than one person, it comes in as user@domain.com, user2@domain.com, user3@otherdomain.com.  So...what can I do about it?  I'm thinking I could explode the list and remove each of the domain.com's, then create a seperate record for each user at my domain, but how would I handle the address's not going to my domain?

Share this post


Link to post
Share on other sites
It's up to you "how" to you want deal with off-domain e-mails.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.