Hello, I have a java based web site with registered users. (users can dynamically register to my site anytime) I like to allow my users to send mails to each other and I like to track the mails in my MySql database. I like the users to use their personal email accounts/clients, but that they will send email to special user account in my site. I want to dynamically create an email account for every registered user. I will use the userId and have for example emails like: [email protected] (for user 232) [email protected] (for user 542) [email protected] (for user 111) ...
How to integrate Postfix with MySql ? How to dynamically create user email account for Postfix in MylSql database ? How to be notified in my web application when new email has arrived ? (so I can forward that email to that personal user account) for example user one (id=200) has personal email like: [email protected] user two (id=444) has personal email like: [email protected] mike wants to send mail to amanda through my web site. the mail will be sent first time from my site, from "[email protected]" to "[email protected]" (user 200 is mike) my site keep track of the message. now, amanda can do relpy to "[email protected]" (mike) through her own personal email client. the email server will keep copy of the message in MySql db and forward the email to "[email protected]" from "[email protected] (user 444 is Amanda) and so Amanda can reply again through her private email client and then Mike can reply and so on... How do I implement that ? thankyou
