Announcement

Collapse
No announcement yet.

Attach email as PDF

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Attach email as PDF

    Is there some easy path to generating a pdf of say the customer email, and attaching that? Or perhaps generating a link that they could click on to download their email invoice/order as a pdf? We have the Miva quote system and the people requesting quotes for several companies then have to upload those quotes as pdf's to another system. Doesn't impact us directly but it's an annoyance for them so if there is a simple way to do this I'd love to know

    #2
    Hi,

    You would need to hook into one of the several pdf services out there or have a php pdf library installed on your server if it's not already there and hook into that. I have a personal project that requires pdfs to be created and I found a service that works for me. I believe it's free up to a certain limit, then the price per pdf is super small, like, less than a penny.

    I would approach your situation by creating a module that takes the email and uses one of the PDF services out there to create a pdf (takes seconds) and then attach the pdf to the email. It's not a difficult module to make, probably take a few hours at the most.

    Scot
    M.A.D.* since 1997

    http://www.scotsscripts.com

    *miva application developers

    Comment


      #3
      Originally posted by Scot - ScotsScripts.com View Post
      Hi,

      You would need to hook into one of the several pdf services out there or have a php pdf library installed on your server if it's not already there and hook into that. I have a personal project that requires pdfs to be created and I found a service that works for me. I believe it's free up to a certain limit, then the price per pdf is super small, like, less than a penny.

      I would approach your situation by creating a module that takes the email and uses one of the PDF services out there to create a pdf (takes seconds) and then attach the pdf to the email. It's not a difficult module to make, probably take a few hours at the most.

      Scot
      Hey Scot,

      This just came up with a store owner that would like the Merchant Confirmation emails to have the Invoice be sent as an attachment to the email.

      Leslie
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment

      Working...
      X