Newbies PGE Posted March 29, 2020 Newbies Posted March 29, 2020 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]
Fitch Posted March 30, 2020 Posted March 30, 2020 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now