I'm trying to get hMailServer to save emails sent via SMTP into my Sent folder so that I can see them in Roundcube.
When I send email through Roundcube, sent emails are stored in the Sent folder, but emails sent via SMTP are not. I started a thread on the hMailServer forum trying to see if this was something that it should handle, or that I could script, but I thought I'd as how Roundcube handles it.
I'm pretty sure that Roundcube simply saves a copy of the email in the Sent folder via IMAP, but then sends the email via SMTP (or some other API method I suppose). Am I correct in my thinking?
Does Roundcube keep messages in its own database, or does it use the HMS database/file system?
My assumption (guess) is that I could write a script using hMailServer's OnDeliveryStart() event that copies the email file and places it into the message store Sent folder. If Roundcube is doing something different than my thought, maybe I could follow that path.
Thanks in advance!!!