Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I set up a mailing which includes a unique PDF attachment?

includes mailing PDF
0
Posted

How can I set up a mailing which includes a unique PDF attachment?

0

You can generate a PDF and attach it immediately (automatically) to the new message. To do this, you should put a ‘Save Records as PDF’ script step in front of the ‘Emai_SmtpAddAttachment’ function call(s), and modify (or add another) ‘Emai_SmtpAddAttachment’ function call, to add attachment directly from the disk, from a temporary location. For example: Set Variable [$pdf; Value: Get (TemporaryPath) & “layout.pdf”] Save Records As PDF [$pdf; Records Being Browsed] Emai_SmtpAddAttachment( Emai_ImportFile(); “attachment”; Emai_GetFileName($pdf); “once”; “” ) This technique is illustrated at the ‘Layout Sending PDF’ example file, available at the download package.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123