A
A
Andrey Ermachenok2015-05-14 15:51:24
gmail
Andrey Ermachenok, 2015-05-14 15:51:24

Do emails sent by a client via SMTP end up in Sent to GMail server?

In my past experience:
Inboxes can stay on the server and be duplicated in the Mail client when received via POP3.
Sent letters from the client via SMTP remain only on the client.
Messages sent via the web interface remain only on the server and are visible only via the web interface.
There is a POP3-SMTP mail client (Rarus-CRM). (Not IMAP!!!) Connected to user mailboxes on GMail.
And it turned out that letters sent from the client are visible through the web interface in sent messages when the browser connects to GMail. Is this some kind of glitch, or a new feature of GMail?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2015-05-21
@eapeap

Emails sent via SMTP Gmail are included in Sent. It's easy to check with a simple python script.

import smtplib

fromaddr = 'FROM'
toaddr = 'TO'
subj = 'Test email'
msg_txt = bytes('body','utf-8')
msg = "From: %s\nTo: %s\nSubject: %s\n\n%s" % (fromaddr, toaddr, subj, msg_txt)

username = 'username'
password = 'password'
server = smtplib.SMTP('smtp.gmail.com:587')
server.starttls()
server.login(username, password)
server.sendmail(fromaddr, toaddr, msg)
server.quit()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question