3 Replies Latest reply: Sep 10, 2014 8:09 AM by Pedro Marques RSS

    can i send email directly from bridge cs6 and cc ?

    mantralightroom Community Member

      hi

       

      can i send emails directly from bridge cs6 or cc directly from bridge?

       

      i found this scripts http://kb2.adobe.com/community/publishing/894/cpsid_89450.html

       

      but i run cs6 and cc under windows 7 sp1 64bit and windows 8.1 64bit

       

      and i have thunderbird email client

       

      is there a way to make it work?

      maybe i can install another email client

       

      thanks

        • 1. Re: can i send email directly from bridge cs6 and cc ?
          Pedro Marques Community Member

          // consult MAILSEND in here: https://github.com/muquit/mailsend and download the app 'mailsend.exe' for windows7 in here:

          // https://github.com/muquit/mailsend/releases/download/1.17b15/mailsend1.17b15.exe.zip

          // unzip it and put the app .exe where you want to use it.

           

          // I have tested using Bridge to send e-mail using my gmail e-mail account and it works. I only needed to 

          // I needed to send e-mails from Bridge using my google account, but first I needed to put on my network the app 'mailsend.exe'(i'm using PCs windows7 , CS6 and a network)

           

          // All my 20 people team is using it, so I decided to put the app 'mailsend.exe' on a common place on network. I you are using it only on 1 PC you don't need you can put it on its disk.

           

           

           

          // Solution: All you need is to create a bat file that tells 'mailsend.exe' what to do:

           

          var mailsendBat=File(Folder.temp +"/mailsendBat.bat"); // creates a bat file on the temporary folder

          mailsendBat.open("w")

           

          // the place where app 'mailsend.exe' file is

          mailsendBat.writeln('"X:\\[someFolder]\\mailsend.exe" \^');

          // my gmail

          mailsendBat.writeln('-t pedro.marques@gmail.com -f pedro.marques@gmail.com \^');

          // the title can have encoding or not (-enc-type "base64")

          mailsendBat.writeln('-cs "utf-8" -mime-type "text/plain" -enc-type "base64" -sub "Ich lerne seit ungefähr zwei Jahren Deutsch" \^');

          // this works for the smtp gmail

          mailsendBat.writeln('-starttls -port 587 -auth -smtp smtp.gmail.com -user "pedro.marques@gmail.com" -pass "[myPassword]" \^');

          // If I want to send an image attachment I use this 1, 2, or more times. If content-type is "multipart/mixed" the inline images don't work. Instead the images will be sent as attachment.

          mailsendBat.writeln('-content-type "multipart/mixed" -attach "C:\\Users\\Public\\imagens\\myImage.jpg" \^');

          // this is the line to send a simple text line with no encoding specified

          mailsendBat.writeln('-enc-type "none" -mime-type "text/plain" -M "one line attachment 1" \^');

          // you can sen inline html that can also have links to inline images

          mailsendBat.writeln('-mime-type "text/html" -enc-type "none" -M "<b>this is a test</b><br><img src="http://[any_online_image.jpg],image/jpeg,i">" \^');

          // sending text line with special encoding

          mailsendBat.writeln('-cs "utf-8" -mime-type "text/plain" -enc-type "base64" -M "Ich lerne seit ungefähr zwei Jahren Deutsch" \^');

          // endind it

          mailsendBat.close();

          // executing

          mailsendBat.execute();

           

           

           

          // there are also other kind of commands (consult https://github.com/muquit/mailsend)

           

          • 2. Re: can i send email directly from bridge cs6 and cc ?
            mantralightroom Community Member

            wow

            should i create an empty jsx file and paste ?

            and change the folders and add my email account?

             

            thanks

            • 3. Re: can i send email directly from bridge cs6 and cc ?
              Pedro Marques Community Member

              It depends on how you want Bridge to interact with your objectives.

               

              You might want to use SDK code to have buttons on a panel on Bridge.

               

              These buttons can read the pre-selected image thumbnails, and get jpgs sorter images on the Temp folder.

              Then a window could open for you to put the e-mail title and the subject and click 'send'

               

               

              For now I have no much time to code this, sorry.