Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
email attachments
-
Has anyone done any workflows creating email attachments?
I have a partial workflow working but don't know how to hand the attachment off to the workflow.set_output(?).
I'd like to send text documents to my Kindle as attachments and/or HTML files.
Thanks in advance for any help.
...dave -
Check out
smtplib
for sending email. Nice tutorial here. -
Thanks. Sure I could build my own smtp interface.
Was thinking it might be a simple task to use Editorial's Send Email workflow module. But instead of placing text/html into the body, I was looking for a way to simply ATTACH the existing file. If that's not doable, I'll go the build-my-own solution.
Thanks for the quick reply.
...dave -
I think email attachments work, the file is uploaded to a server somewhere, and a link to a download is included in the HTML of the email. This effect could be achieved by uploading the file to dropbox, I think.
-
There's currently no way to use the built-in email sheet for sending attachments, so using
smtplib
is probably your best bet. -
Thanks. I'll start coding. If successful I'll share the workflow.
...dave -
Send to Kindle is now available as a workflow:
http://www.editorial-workflows.com/workflow/6407874913763328/7uCv_3FMxlo
All comments and improvements are welcome.
...dave
-
Hello everybody.
This is my first question on that forum and I hope someone will have time to answer.I need to send the text as a .txt file as ATTACHMENT in mail and not as text in mail.
Can I ask you if you have found a way of doing so and if you did, is there a way of getting that workflow.
Thanks in advance.( I am new. I am French. I use Editorial for script writing for 2 weeks now. It is perfect for me. But I have still issues I can't fix. And I don't know nothing about coding or Python for the moment and, because I am already late to finish a script I am on at the moment, I don't plan to learn coding or Python for the next weeks.)
-
Try this workflow:
http://www.editorial-workflows.com/workflow/6470443393351680/d6tSDa8k_jk#
-
Thank you very much for this quick answer. It works perfectly.
To you think it is possible to have the possibility of "sending the text as an attachment" in a ACTION?
(Like the simple Action " COMPOSE EMAIL" but with text as attachment in place of text on the mail) -
Not really, see discussion above.
You can always attach a file from dropbox directly to a new message in mail.app, but it requires even more tapping