Welcome Guest, Not a member yet? Register   Sign In
Grabbing information from database, performing actions by id
#1

[eluser]fancms[/eluser]
I am working on developing a simple webmail interface for my project. The way it's set up is to allow users to check,reply/forward, and delete mail on multiple hosted email accounts in one place, using imap. The email account information is located on a database.

I'm kind of at a standstill at the moment with the delete email portion. Single email deletion is not a problem but multiple deletion is. Instead of opening a new imap connection for every single email, I'm trying to figure out a way to group it to do the following:

1. A connection for email account 1 is opened
2. Any emails the user wants to delete from email account 1 are deleted
3. Connection for email account 2 is open, and steps 1 and 2 are repeated

I know this is probably really simple to accomplish but for the life of me I can't wrap my head around the solution. Any help would be appreciated Smile




Theme © iAndrew 2016 - Forum software by © MyBB