3
votes

I use Gmail with many different Email Accounts like [email protected] - therefore I forward all emails to my Gmail Account and in Gmail I use the "Send Mail as" option, to include my [email protected] and send Emails in the name of that (or others).

Of course I therefore do not use Gmail Server, I use "send through mydomain.com's SMTP Servers" so that nobody will see the difference.

In the past, if I use an IMAP Tool like Outlook, Emails send with Outlook for [email protected] get also on my server in the "Sent" Folder (same as Inbox syncronisation).

IS there any way, that the emails send via Gmail will also be "duplicated" on my servers "IMAP" folders?

Reason: if I ever switch away from Gmail, I not only want all my received emails save in my servers inbox, I also want duplicates of my sent mails.

2
To make it a bit more clear: I use Gmail the "normal private way" with mail.google.com (not Google Business Apps) and send mails online - under Settings, Accounts and Import I use "Send mail as" and implemented my email [email protected], Mail is sent through: smtp.mydomain.com - now I want that sent emails also occur in the "Sent" folder of my IMAP Server of mydomain.com.Bob
In that case, Gmail does not have the kind of functionality that you are as asking for, AFAIK. It only knows to connect to your domain's SMTP server, it does not know to also connect to your server's IMAP server to store the sent email.Remy Lebeau

2 Answers

1
votes

IMAP is only for managing emails on the server. It cannot be used for sending emails. That must be done with SMTP. SMTP has no concept of IMAP, and most (if any) SMTP servers do not automatically copy a sent email into an IMAP "Sent" folder. So when programmably sending an email via SMTP, you usually have to log in to the associated IMAP account and manually copy the sent email into the "Sent" folder yourself. IMAP tools like Outlook do exactly that. And there is an IMAP extension (RFC 6154) that many IMAP servers implement (Gmail does) for identifying the "Sent" folder regardless of how it is actually named.

-1
votes

If you don't use smtp.gmail.com to send your messages, and want them in your Gmail inbox anyway, you'll obviously have to put them yourself.

  • Either you put the message with IMAP, in the sent folder
  • Either you put the message with the Google API, and apply label SENT.