5 pts.
 How do I embed a pdf in a email
I need to send a broadcast email with an embedded pdf in it. I want the pdf to display in the email when it is opened and not be an attachment. I am using an agent to build the email and then send it. If I run the agent and use the command "call maildoc.send" the pdf in the email comes through as an attachment. If I use the command "call maildoc.save" and then manually send the email from the drafts folder the pds displays in the email and does not come through as an attachment. Since I will be sending this email to thousands of email addresses I do not want to create a draft and then have to manually send the emails. How do I get the pdf to display using the command "call maildoc.send" in the agent.

Software/Hardware used:
ASKED: March 6, 2012  6:38 PM
UPDATED: March 9, 2012  3:10 AM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I want the pdf to display in the email when it is opened and not be an attachment.

Very first step is to give up on that requirement.

You cannot choose how a given client is going to treat an e-mail item. You can’t “embed” a .PDF in an e-mail without making it an “attachment” of one kind or another. You can’t even choose whether or not the recipient can even open .PDFs for viewing nor if the .PDF will ever reach the recipient (the server might strip it out if its rules are strict enough).

Tom

 107,845 pts.

 

HTML Email not a valid solution?

 10,615 pts.

 

HTML Email not a valid solution?

It might be a valid option for sending, but it doesn’t fulfill requirements. A recipient might not have that option enabled. (I don’t.) And there’s still no guarantee that a .PDF will be opened automatically nor that the receiving system even has a .PDF reader.

Regardless of the e-mail formatting, you can’t dictate what an e-mail client product is going to do.

So, the real question has to be about the business problem that needs to be solved. The technical problem in the question has no solution unless the sender has full control over each recipient’s device and possibly over every e-mail server for each recipient.

Of course, if the requirement is loosened so that only common defaults are involved, it becomes a “mostly answered” problem.

Tom

 107,845 pts.