Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement