How to create and send file as attachment gmail

Hi.

I have a macro that creates an JSON string an, by now, I create a file with this JSON at the same macro and need send this new file by Gmail as an attachment.

I write this file to an especific folder but don't know how to pick it to attach to a message. I can do the attachment with files at the "RECENT" list but this file doesn't appear there.

The best solution would be create and send file at the same macro. How can I do this?

Thanks in advance.
 

Dimlos

Well-known member
Could you please organize it a little more before posting?
Please do not post multiple posts with similar content.

If you are using Android 13 or below, it is possible with the MailTask plugin.

 
Dimlos.

Sorry if I was confuse... Maybe my bad English.

The fact is that I am having progress in using MD (great product) and trying some alternatives to send information from one site to a server:

- download files in csv format and send them attached (didn't work for 12 files)
- create a JSON and paste it at a body message (didn't work)
- create a JSON and paste it at subject field (ok but limited in size)
- create a JSON, save it on a file and send it attached to a message (don't know how)
- submit the JSON via http request to my endpoint (don't know the authentication process)

As you see, there's more than on doubt.

Thanks for your attention.
 
Top