Would it be possible to save a draft in gmail using Matlab?

1 visualización (últimos 30 días)
Matt A
Matt A el 23 de Ag. de 2020
Respondida: Nipun Katyal el 26 de Ag. de 2020
I am trying to use Matlab to save an email as a draft in Gmail. I am familiar with how Matlab can send an email through SMTP. However, it turns out you cannot use this protocol (smpt) to modify or create emails in the draft folder. I was wondering if there is any way to save a draft in Gmail by Matlab.
It seems Gmail API can be a solution: https://blog.mailtrap.io/send-emails-with-gmail-api/
Is there any matlab code out there for using Gmail API?
Thanks

Respuestas (1)

Nipun Katyal
Nipun Katyal el 26 de Ag. de 2020
You can send a mail from Matlab and attach files to it as mentioned in the given link, although the functionality you are looking for can be utilised from the outlook app on windows using a COM server as shown in this example

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by