omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Editorial
    5
    11
    8359
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • daveterry
      daveterry last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Webmaster4o
        Webmaster4o last edited by

        Check out smtplib for sending email. Nice tutorial here.

        1 Reply Last reply Reply Quote 0
        • daveterry
          daveterry last edited by

          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

          1 Reply Last reply Reply Quote 0
          • Webmaster4o
            Webmaster4o last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • omz
              omz last edited by

              There's currently no way to use the built-in email sheet for sending attachments, so using smtplib is probably your best bet.

              1 Reply Last reply Reply Quote 0
              • daveterry
                daveterry last edited by

                Thanks. I'll start coding. If successful I'll share the workflow.
                ...dave

                1 Reply Last reply Reply Quote 0
                • daveterry
                  daveterry last edited by

                  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

                  1 Reply Last reply Reply Quote 2
                  • adiosx
                    adiosx last edited by

                    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.)

                    1 Reply Last reply Reply Quote 0
                    • mjakubowiak
                      mjakubowiak last edited by

                      Try this workflow:

                      http://www.editorial-workflows.com/workflow/6470443393351680/d6tSDa8k_jk#

                      1 Reply Last reply Reply Quote 0
                      • adiosx
                        adiosx last edited by

                        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)

                        1 Reply Last reply Reply Quote 0
                        • mjakubowiak
                          mjakubowiak last edited by mjakubowiak

                          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

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB Forums | Contributors