gmail - What is the standard way to get a list of bounced emails to remove it from mailing list through API or otherwise -


i running marketing campaign through amazon ses , other few services. email providers zoho , gmail.

what need know how can list of emails have bounced , remove mailing list keep list cleaned. need on daily basis. gmail or zoho give provides way list through api or other way? afaik ses not provide api list directly of bounced emails. gmail or zoho provide api?

i think, can collected through scraping inbox. doing manually not feasible option.

what missing. standard way handle problem?

what need scrape inboxes bounced emails subject.

read imap. also, check out imaplib package , email package python.

https://docs.python.org/3/library/imaplib.html

https://docs.python.org/3/library/email-examples.html

this blog can helpful:

https://yuji.wordpress.com/2011/06/22/python-imaplib-imap-example-with-gmail/


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -