1

is there any REST API for roundcube? I have this need:

I developed a software where it sends some emails to clients and we need to save the sent mails in the "sent" folder.

I searched a lot and all tutorials say that I have to use the auto_bcc but I need to simulate the client's behavoiur, I mean, when the boss access the "automatic@domain.com" mailbox by using roundcube or another email client, he can see the sent folder and the sent mails (not in the inbox), so I was thinking that if I can connect to roundcube and simulate a mail sending, roundcube will save the mail in the sent folder.

I hope I have explained myself

Thanks

oware
  • 626
  • 9
  • 19

1 Answers1

0

You not specify coding language ... in case you use php, use PHPmailer for send the emails.

PHPmailer use resident email server of your system to operate. This means PHPmailer and Roundcube use same standard (inbox/outbox) folders of each user.

Then simply send the email using phpmailer and the email shown in Sent folder !! Look this message shows as unread in Roundcube, you need to set up a filter inside Roundcube if you want to mark as read and/or move this emails to a specific folder.

  • 1
    Welcome to StackOverflow. I suggest you improve your answer, have a look here → [How do I write a good answer?](https://stackoverflow.com/help/how-to-answer) – Federico Baù Jan 07 '21 at 15:42