Opening outlook with attached pdf document in php file coding

36 Views Asked by At

window.location.href = "mailto:[email protected]?subject=Email%20Subject&body=Email%20Body&attach=example.pdf"

My Outlook mail does open when I run the code but the pdf does not attach, the pdf is saved correctly in my folder and I have tried to locate it through example.pdf and file:///C:example/example/example.pdf

Any solution to this?

window.location.href = "mailto:[email protected]?subject=Email%20Subject&body=Email%20Body&attach=example.pdf"

window.location.href = "mailto:[email protected]?subject=Email%20Subject&body=Email%20Body&attach=file:///C:example/example/example.pdf"

0

There are 0 best solutions below