Can I ask, has anyone ever emailed the contents of the print page.
I would like to forward the information on it via an email,
Thanks
forward print view with email
Re: forward print view with email
Go to the example at this link:
The following example sends a notification email to an employee when a user submits a new record. The email contains the record data.
https://bigprof.com/appgini/help/advanc ... ific-hooks
Use the same code at the footer or header HOOK of the table you want in case 'print-detailview'
I believe this should do it.
have a nice day
Ahmed
The following example sends a notification email to an employee when a user submits a new record. The email contains the record data.
https://bigprof.com/appgini/help/advanc ... ific-hooks
Use the same code at the footer or header HOOK of the table you want in case 'print-detailview'
I believe this should do it.
have a nice day
Ahmed
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper
Re: forward print view with email
Thanks for the reply.
Its not what I want,
I want a box where I can insert an email address to send to.
Its not what I want,
I want a box where I can insert an email address to send to.
23.17
Re: forward print view with email
Add a field in the detail view and insert the email you want, make it as a variable to pass to the hook function.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper
-
- AppGini Super Hero
- Posts: 336
- Joined: 2015-12-23 16:52
Re: forward print view with email
There are a number of browser extensions that will do this. I use one for Chrome called Explain & Send Screenshots. Awesome Screenshot also works well.
There's also a print driver (for Windows) called Print2Email. Not free, but there's a trial version. And there's probably more than just this one.
There's also a print driver (for Windows) called Print2Email. Not free, but there's a trial version. And there's probably more than just this one.
Re: forward print view with email
HI AhmedBR
Could you give me an example of the variable, and where to place it,
Thank you
Pat
Could you give me an example of the variable, and where to place it,
Thank you
Pat
23.17
Re: forward print view with email
You can do something like this:
Let`s say the field name you create is eMail
Change the code from this:
To This:
Let`s say the field name you create is eMail
Change the code from this:
Code: Select all
// mail recipient
"[email protected]"
Code: Select all
// mail recipient
"{$data['eMail']}"
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper