php - Don't save a message in "sent mail" if sent via Gmail -
with symfony2 easy configure gmail smtp provider. great feature sent messages stored in "sent mail" folder.
but emails not desirable store them, "forgot password" emails. can't find trace in documentation not storing message in "sent mail" folder.
i think gmail specific behavior, because swiftmailer (the mailer bundle in symfony) uses smtp send emails , smtp sending mails , not storing them.
the task store sent email in sent folder (locally or in imap folder) job of mua (mail user agent, email client) , not of server. yeah, google own things.