Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Email attachments


This topic is 1691 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a script that generate two different e-mails, one with the attachment and one that contains the e-mail address. Has anyone an idea on how to get them combine somehow so that just one e-mail would be generated?

Go to layout ["Faktura" (KSF medlemslista)]
Save Records as PDF [Restore; "No dialog; "untitled.pdf"; Create email; Current record]
Send Mail [Send via E-mail Client; To: KSF medlemslista::e post: Subject: "KSF medlemsavgift 2020"; Message: "Medlemsfaktura som pdf bifogad”; "untitled.pdf")
Go to layout [original layout]

Posted

Save the PDF path in a variable and then use that variable in the Send Mail step.

Set Variable[ $path ; Get(DesktopPath ) & "untitled.pdf" ]
Save Records as PDF[ $path ]  // don't create email
Send Mail[ ... ; $path ]

Welcome to the forums!

This topic is 1691 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.