How to create a PDF and send it using an Email resource
Moderators: Jon, Steve, Ian, Dave
How to create a PDF and send it using an Email resource
I am new at using ebase, I have created a form with an Email resource mapped to it. I am trying to work out how I can get the completed form to be sent as a PDF attach in the e-mail. Can this be done and if so how.
0 x
-
- Ebase User
- Posts: 94
- Joined: Fri Sep 14, 2007 12:18 pm
- Location: The Netherlands
- Contact:
Re: How to create a PDF and send it using an Email resource
First: Create the Print Design (see http://www.ebaseftp.com/website/340doc/ ... signer.htm).
Second: Print the PDF (see http://www.ebaseftp.com/website/340doc/ ... c176316845).
Third: Send the Email with the created PDF (see http://www.ebaseftp.com/website/340doc/ ... c176316851).
Second: Print the PDF (see http://www.ebaseftp.com/website/340doc/ ... c176316845).
Third: Send the Email with the created PDF (see http://www.ebaseftp.com/website/340doc/ ... c176316851).
0 x
My form is called HFRS_FIRE_FIT1 and my E-mail resourse is called HFRS_FIRE_FIT
So I made a script:
PDFPrint save ;
and another script to send the e-mail which is
sendmail HFRS_FIRE_FIT with attachments HFRS_FIRE_FIT1 ;
but I get:
Script HFRS_PDF - Invalid Field HFRS_FIRE_FITP in command>sendmail HFRS_FIRE_FIT with attachments HFRS_FIRE_FITP *
Can you help
So I made a script:
PDFPrint save ;
and another script to send the e-mail which is
sendmail HFRS_FIRE_FIT with attachments HFRS_FIRE_FIT1 ;
but I get:
Script HFRS_PDF - Invalid Field HFRS_FIRE_FITP in command>sendmail HFRS_FIRE_FIT with attachments HFRS_FIRE_FITP *
Can you help
0 x
-
- Ebase User
- Posts: 94
- Joined: Fri Sep 14, 2007 12:18 pm
- Location: The Netherlands
- Contact:
Re: How to create a PDF and send it using an Email resource
The script should be something along the lines of:
Normally you would save the $FILE_NAME into a variable and use this to send the email.
Code: Select all
pdfPrint save;
sendmail HFRS_FIRE_FIT with attachments $FILE_NAME;
0 x
Who is online
Users browsing this forum: No registered users and 113 guests