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.

Emailing an Actual Report

Featured Replies

Hello

 

I have a solution already with reports in a normal basis, my question is that I need to send the report via email insted of printed, I know that we have a script step already to send emails but I have to attach a file in order to send an email, there is any more functional o direct way to do it?

 

Any help would be very appreciated.

 

Sincerely

BluiSh

You will have to use a plugin such as SMTPit or Mail.it .

I us the script step save records as PDF , then attach that to the email using the send mail script step .

@doughemi - I'm surprised at your answer, and assume that I'm missing something in the original question, since your knowledge level is such that you must know that FM's built-in capabilities support one attachment.

 

@Bluish - you have a choice. The Save as PDF script step allows you to create a PDF of a report and with a click of a checkbox in the options, attach that report to an email.

 

otherwise, as No_access suggested, export the PDF (to the Temporary folder, perhaps, $exportPath = Get (TemporaryPath) & "myreport.pdf" ) and then attach that file to the outgoing email using Send Mail referencing the $exportPath in the attachment field.

 but I have to attach a file in order to send an email, there is any more functional o direct way to do it?

 

 

The OP said he didn't want to use an attachment.

  • Author

Oky doky

 

Thanks to everybody for the response, I'm going to try bcooney option, because I don´t want to buy any plug in, or the plug that you mentioned doghemi is for free?

 

Sincererely

BluiSh

@ doughemi - wow, you read into that statement that he wanted an html email with his "report" the body. Given that, yes, he'd need a plug-in (and quite a bit of html).

 

So, BluiSh, can you elaborate on "any more functional o direct way"? Are you trying to avoid attachments? You can dump text (albeit plain text) into the body of an email, but many of us here don't picture that as a "report."

 

 

demo here

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.