David,

When sending an HTML message with R:Mail, it is advised to attach the PDF document, as a PDF cannot be "displayed" when embedded into an HTML email.

Not all file types can be embedded. The results depend on the file type. It is advised that only images be embedded (gif/png/jpg). Other file types should be normal attachments.

When testing an example, the PDF arrived when sent, and in the email client program folders, the PDF document arrived in the "Embedded" subfolder, not the "Attachment" subfolder. So it appears to arrive correctly, but the PDF is not "displayed" rightfully so.

If the content of the attached PDF is from an R:BASE report, it is suggested to use the "PRINT ... OPTION HTML" format, and in R:Mail, use the LOAD_MESSAGE_BODY_FROM_FILE parameter to populate the message body from the HTML output.

Hope it helps!

Very Best R:egards,

Razzak


At 10:53 AM 3/27/2019, dkfowler6179 wrote:

I am trying to embed a pdf into an html email using R:Mail. I have followed the example given in the R:Mail documentation and have successfully embedded a gif, but I can't figure out what changes need to be made to embed a pdf. The pdf sends as an attachment, but does not embed and open in the message body properly. It shows an icon that suggests a broken link (looks like a torn picture) in the message body.
Any help is appreciated.
David Fowler



--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to