Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Attaching PDF to SMTP E-Mailing over a Network

Featured Replies

I have developed a solution that allows a bus driver in our district to create a discipline report and then send that PDF report to the school principal. The problem I'm having is that it works great when you're setting at the server but when working from a client I get the error "Bus Referral Form.pdf" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk." I've set the path to [color:red]filewin://EDSONLINE/Users/eds/Desktop/Bus_Sharepoint/Bus_Referral_Form.pdf

"when you're setting at the server," huh?

Usually, you would Save as PDF to the Temporary directory, then attach from there to your email.

The problem is most likely due to the volume not being accessible, or the user logged in, not having privileges to write to that directory.

I think what is meant by 'setting at server', means, when logged in on server computer running FM Client, the script works, is that accurate?

Saving to temporary directory as suggested will remedy the problem because the user will have write privileges and the directory will always exist. Since the temporary path may vary depending on Windows/FM version, use the get(temporarypath) function. For Windoze it would look like

Set $PathToSaveTo = get (temporarypath) & "badstudent.pdf"

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.