[GH-ISSUE #1856] No sent mail in sentbox(smtp) #1454

Closed
opened 2026-02-27 11:17:11 +03:00 by kerem · 7 comments
Owner

Originally created by @mem0rz on GitHub (Mar 18, 2020).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1856

Impacted versions

  • Modoboa: 1.14
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

use smtp to sent

Current behavior

Sending mail using smtp protocol but there is no sent mail in the sentbox.

Expected behavior

The server can automatically save the emails that have been sent using the smtp protocol so that they we can be easily queried in webmail.

Video/Screenshot link (optional)

Originally created by @mem0rz on GitHub (Mar 18, 2020). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1856 # Impacted versions * Modoboa: 1.14 * installer used: Yes * Webserver: Nginx # Steps to reproduce use smtp to sent # Current behavior Sending mail using smtp protocol but there is no sent mail in the sentbox. # Expected behavior The server can automatically save the emails that have been sent using the smtp protocol so that they we can be easily queried in webmail. # Video/Screenshot link (optional)
kerem closed this issue 2026-02-27 11:17:12 +03:00
Author
Owner

@tonioo commented on GitHub (Mar 18, 2020):

@cybmp3 Can you please provide more info? (logs, screenshots, ...)

<!-- gh-comment-id:600499999 --> @tonioo commented on GitHub (Mar 18, 2020): @cybmp3 Can you please provide more info? (logs, screenshots, ...)
Author
Owner

@Toniob commented on GitHub (Mar 18, 2020):

@cybmp3 From your message, I understand that you're not using a mail client to send your emails. Maybe I'm wrong, tell me. If those are emails sent using a script or something automated, it can't be done. SMTP is a protocol made to send email, that's all. It doesn't store them. For that, you need IMAP (let's forget about POP).

<!-- gh-comment-id:600505186 --> @Toniob commented on GitHub (Mar 18, 2020): @cybmp3 From your message, I understand that you're not using a mail client to send your emails. Maybe I'm wrong, tell me. If those are emails sent using a script or something automated, it can't be done. SMTP is a protocol made to send email, that's all. It doesn't store them. For that, you need IMAP (let's forget about POP).
Author
Owner

@mem0rz commented on GitHub (Mar 18, 2020):

@cybmp3 Can you please provide more info? (logs, screenshots, ...)

Such as wordpress send email via smtp.

<!-- gh-comment-id:600509026 --> @mem0rz commented on GitHub (Mar 18, 2020): > > > @cybmp3 Can you please provide more info? (logs, screenshots, ...) Such as wordpress send email via smtp.
Author
Owner

@Toniob commented on GitHub (Mar 18, 2020):

So that's something to see with wordpress, for them to support IMAP storage when emails are sent. Not an issue with Modoboa.

<!-- gh-comment-id:600510575 --> @Toniob commented on GitHub (Mar 18, 2020): So that's something to see with wordpress, for them to support IMAP storage when emails are sent. Not an issue with Modoboa.
Author
Owner

@mem0rz commented on GitHub (Mar 18, 2020):

@cybmp3 From your message, I understand that you're not using a mail client to send your emails. Maybe I'm wrong, tell me. If those are emails sent using a script or something automated, it can't be done. SMTP is a protocol made to send email, that's all. It doesn't store them. For that, you need IMAP (let's forget about POP).

correct.
But if wordpress uses gmail's smtp protocol to send mail, you can find the sent mail in the sentbox of gmail.

<!-- gh-comment-id:600510878 --> @mem0rz commented on GitHub (Mar 18, 2020): > > > @cybmp3 From your message, I understand that you're not using a mail client to send your emails. Maybe I'm wrong, tell me. If those are emails sent using a script or something automated, it can't be done. SMTP is a protocol made to send email, that's all. It doesn't store them. For that, you need IMAP (let's forget about POP). correct. But if wordpress uses gmail's smtp protocol to send mail, you can find the sent mail in the sentbox of gmail.
Author
Owner

@Toniob commented on GitHub (Mar 18, 2020):

Gmail is everything but standard SMTP et IMAP.
We shouldn't store email sent via SMTP. If we do this, when you'll send emails with your mail client, you'll have duplicates in your sendbox : one mail stored via your mail client, another one with a trick on SMTP.

<!-- gh-comment-id:600514037 --> @Toniob commented on GitHub (Mar 18, 2020): Gmail is everything but standard SMTP et IMAP. We shouldn't store email sent via SMTP. If we do this, when you'll send emails with your mail client, you'll have duplicates in your sendbox : one mail stored via your mail client, another one with a trick on SMTP.
Author
Owner

@mem0rz commented on GitHub (Mar 18, 2020):

Gmail is everything but standard SMTP et IMAP.
We shouldn't store email sent via SMTP. If we do this, when you'll send emails with your mail client, you'll have duplicates in your sendbox : one mail stored via your mail client, another one with a trick on SMTP.

Thank you.

<!-- gh-comment-id:600558021 --> @mem0rz commented on GitHub (Mar 18, 2020): > > > Gmail is everything but standard SMTP et IMAP. > We shouldn't store email sent via SMTP. If we do this, when you'll send emails with your mail client, you'll have duplicates in your sendbox : one mail stored via your mail client, another one with a trick on SMTP. Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1454
No description provided.