Jump to content

pop3 import to mysql - multiple recipients


quasiman

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?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.