0

I need to open the outlook from client side.I use the code below and its working fine.The only issue is that not able to attach any document through this code.

    <a href="mailto:mailto@cxx.com?cc=mailcc@cxx.com&subject=hello&body=have a nice day!">send Using Outlook</a>

Please give your valuable suggestions

Prasanth S
  • 179
  • 1
  • 1
  • 9
  • No you can't automatically attach documents by this method. But if you want to send an email why not just do it from the server side directly? – ADyson Jun 11 '19 at 06:01
  • The requirement is that when a user select a document from our application and click on send button the document is shown in the outlook mail compose panel with document attached. – Prasanth S Jun 11 '19 at 06:10
  • Well whoever wrote the requirements does not understand what is possible in a web based environment. You'll have to tell them to think again. – ADyson Jun 11 '19 at 06:13
  • Possible duplicate of [using mailto to send email with an attachment](https://stackoverflow.com/questions/5233556/using-mailto-to-send-email-with-an-attachment). The accepted answer at this link also contains suggestion for solving the problem – ADyson Jun 11 '19 at 06:14
  • No problem. Hope you can agree a sensible requirement with your client which is also technically possible. – ADyson Jun 11 '19 at 10:52

0 Answers0