Hi,
I am trying to setup a service for my website subscribers where they can configure their Outlook (or any other email client) to use my SMTP service. Using my SMTP service would allow my users to upload files to their website account folder by attaching files to their email in the email client.
I was thinking of the following architecture to achieve this:
Server 1 contains:
Server 2008 R2, IIS 7.5, .NET 4
My asp.net web application which uses forms authentication
MailBee component for parsing email and their attachments
Server 2 contains:
Server 2008 R2, hmailserver, SMTP service for my users
Possible Scenario 1:
When my users connect their Outlook to my Server 2 SMTP service:
1. all the email sent using that Outlook account will be automatically redirected to a specific email address (forward@mysite.com).
2. I will then use my Server 1 MailBee component to download and parse all messages in my forward@mysite.com email account.
3. My web application will then place the email attachment into the proper user account folder based on the FROM email address of the email.
Possible Scenario 2:
When my users connect their Outlook to my Server 2 SMTP service:
1. all the email sent using that Outlook account will be automatically placed in a mail pick-up directory.
2. I will then use my Server 1 MailBee component to parse the .EML files stored in the pick-up directory.
3. My web application will then place the email attachment into the proper user account folder based on the FROM email address of the email.
Does this look logical to do?
Is there perhaps a better way to design the process to make this happen?
Could I possibly do all of this with only Server 1 by employing the IIS SMTP service thereby eliminating the need for hmailserver on Server 2?
Thanks.