Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7438549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:34:19+00:00 2026-05-29T10:34:19+00:00

Can i send a pdf file through javascript ? i have a link ,when

  • 0

Can i send a pdf file through javascript ?

i have a link ,when i click the link it need to open OUTLOOK with title and the pdf file as attachment.also some body text.

Is it possible ?

Thank you .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:34:20+00:00Added an answer on May 29, 2026 at 10:34 am

    Since adding the PDF as an attachment is not possible, I would recommend putting the link to it in the email body. This will save on the user’s bandwidth and can be done with a simple mailto: link.

    <a href="mailto:?subject=Look+at+this+PDF&body=http://mysite.com/file.pdf" title="Send PDF">Send PDF</a>
    

    This will also work on any system with whatever email client the user has as their default (i.e. you’re not limited to Outlook).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way I can send data to my PDF file, (fill in
I can send data via a button in a pdf file just fine and
In Javascript I can send XML string to JSP server (XmlAction.jsp): Javascript Code: var
how i can send sms from asp.net?any idea about it?or any resource through which
I have a program that can send text to any other program for further
how can I send a mail with a file saved in a FileField? I
I have a program that generates a PDF as output. If I send this
I have a method that returns a PDF file using DOMPDF . It sends
I have a C# process that prints an in memory pdf file using O2S.Components.PDFRender4NET,
I am using the following bit of code to send a pdf file back

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.