Sending mail using smtp with python script on disroot account doesn't leave copy to sent mail, but using gmail with same script does. Bug or feature?

@kravietz
If you use mutt you can configure it to leave a copy there maybe ?

python your_script.py | mutt -s "subject " -i msgbody.txt $email_address

?
@nikolal

@hyde_stevenson
This is independent on mutt, sending with gmail smtp leaves copy to sent folder by default, while disroot doesn't. I don't really need that copy to sent folder, just wondering why it isn't enabled by default, it makes sense to me that is enabled.
@kravietz

Follow

@nikolal @hyde_stevenson This is purely server-side feature. SMTP normally doesn't care about folders on the server-side, folders are IMAP thing.

Seems like Gmail's SMTP does that as a courtesy feature, while Disroot just does what SMTP is supposed to.

Thunderbird for example will first send a message using SMTP (for actual delivery), and then use IMAP to store a copy of the same message in Sent folder.

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!