Hello everyone, We're currently using Imail web software, allowing each of our clients an Imail email account. We would like to implement the ability for users to retrieve email from any other POP3 accounts they have. Any emails retrieved from their other POP3 accounts would be stored in their Imail accounts. I have tried two different ways to implement this, without success. I already have ASP pages set up that allow the users to set up their POP3 accounts (server, username, password, etc). I am using an ASP component called ZaksPOP3 to retrieve email from a user's account. The first method I tried to implement involved retrieving all the user's POP3 mail and then immediately sending it to the user's Imail account using a CDONTS NewMail object. This worked fine, except any attachments that the user had on their POP3 emails are not recognized by Imail. What the user sees when he/she checks reads the message in Imail is the base64 encoded representation of the file. I believe this problem revolves around certain headers not being set correctly when CDONTS sends the email. Unfortunately, CDONTS does not have any methods to modify email headers before the email is sent. The second method I tried involved writing the user's POP3 emails (headers, message body, and attachments) directly to the .mbx file for the particular user. This worked great, except the other files in the user's account directory (.uid and .srt) are in a different format that I can't understand. The .mbx file is pretty straightforward. The other files aren't quite as simple, and I am not sure how to update those files to reflect the new messages. The result of these files not being updated is that the table of contents for the user's inbox shows an incorrect message count, and all messages previously marked as read now appear as unread. Basically, I think I was on the right track with my second method, I just need a way of updating those .uid and .srt files *after* the .mbx file has been updated. If I could do this, everything would be peachy. If anyone has any thoughts on this or any solutions to my problem, I would greatly appreciate the assistance. Thanks in advance. -Jason Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
