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

1 vue (au cours des 30 derniers jours)
Matt A
Matt A le 23 Août 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

Réponses (1)

Nipun Katyal
Nipun Katyal le 26 Août 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