3

I want to add attachment path, how to add attachment in mailto. I have tried like following but that not worked.

  $scope.sendMail = function () 
   {
        $scope.to = "To@gmail.com";           
        $scope.cc = "CC@gmail.com";
        $scope.bcc = "bcc@gmail.com";
        $scope.subject = "Confirmation";       

        var link = "mailto:" + $scope.to
                 + "?cc=" + $scope.cc
                 + "&bcc=" + $scope.bcc
                 + "&subject=" + $scope.subject
                 + "&body=" + "Test Body";
                +"&attachment=" 

        window.location.href = link;     
    }
Or Assayag
  • 5,662
  • 13
  • 57
  • 93
nature vetri
  • 302
  • 2
  • 12
  • 1
    Possible duplicate of [using mailto to send email with an attachment, html or jsf](https://stackoverflow.com/questions/5233556/using-mailto-to-send-email-with-an-attachment-html-or-jsf) – Quentin Aug 16 '17 at 09:24

0 Answers0