Jump to content

Creating pdf on the fly and attaching it to an email


realjumper

Recommended Posts

Hi,

 

My little application is for staff to purchase stationary from the stationary officer....each staff member is allowed $20 per month for basic stationary like white board markers, staples etc etc etc.

 

I have created a shopping cart and the application works well, however, the staff member, once they have 'checked out' needs to go to the stationary officer to pick up the goods. To make life easy for the staff member, and to keep a paper record of purchases, I would like a PDF of the purchase to be emailed to the purchaser which he/she would then take to the stationary officer and swap for the goods. Just like a e-ticket for an airline booking for example.

 

As I said, the shopping cart is working fine. I can send emails, no problem. I can create a PDF on the fly with the purchaser could view by clicking a link as well. What I can't do, and I can't find out how to, is to create the PDF and download it to a temporary directory on the server (I guess), then attach it to an email.

 

Can anyone point me in the right direction please? 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.