When sending mail using SMTP server, how to determine whether the smtp server rely and save send mails to "Sent" folder or not.
Example
When sending mail using GMail smtp server ( smtp.gmail.com ), GMail server automatically rely and save the mail to "Sent" folder. But few other server like Exchange, GoDaddy,.. these are the servers not saving the mail to "Sent" folder. We have to manually append the message to respective folder using IMAP append command.
If I able to find whether the server won't save send mails to "Sent" folder means, I can invoke IMAP append command to save the mail to "Sent" folder