Google’s SMTP Service Automatically Saves Sent Emails To Sent Items

gmailI noticed that when sending an email using Google’s SMTP server, all emails sent will automatically be saved in the Sent Items folder. So if your old code for example uses an IMAP server to save the email sent to the Sent Items folder, you could add an if conditional statement to see if the SMTP server used is GMail or not.

If it is, then it is best to ignore the IMAP code to store the sent email in the Sent Items folder. I tried to still use the IMAP code when I used Google’s SMTP server to see what would happen and it gave an exception.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *