Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Location
    India
    Posts
    1
    Plugin Contributions
    0

    email an ebook after purchase?

    Hi,

    I am trying to create a Zen Cart store to sell E-Books online. I want that when user purchases the E-Book, after making payments, E-Book is mailed to their E-Mail ids as attachments. Is there any such option with Zen-Cart or any plugin that can be used to solver the purpose?

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Upload digital products

    I want that when user purchases the E-Book, after making payments, E-Book is mailed to their E-Mail ids as attachments. Is there any such option with Zen-Cart or any plugin that can be used to solver the purpose?
    Currently, not that know of...zencart offers purchaser's option
    to download files i.e. zips, pdf, mp3 etc they have paid for.

  3. #3
    Join Date
    Oct 2005
    Location
    Helena, MT
    Posts
    118
    Plugin Contributions
    0

    Default Re: email an ebook after purchase?

    I"m trying to do the same thing, send out an email with .pdf attachment after the payment clears. I've got it 99% but probably not doing it the "right way". I need an example of the zen_mail function with attachments_list array.

    * @param array $attachments_list Array of attachment names/mime-types to be included (this portion still in testing, and not fully reliable)

    would it be something like

    $attachments_list = array();
    $attachments_list['pdf/'.$filename] = 'application/pdf';

    any help here would be GREAT

    thanks from jennifer

  4. #4
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: email an ebook after purchase?

    Keep in mind that some people have email accounts with limits on file attachments.

    • Some are set up not to accept attachments (for security reasons) and

    • others have limits on the size of the attachment (often 1 megabyte).


    If your ebooks have images, they will definitely be more than a megabyte.


    Consider this as an alternative... set up a password protected link for the ebook and send the username and password by email to the buyer. Give them a reasonable amount of time to download it, say 28 hours or 36 hours (some people are away on weekends and might need more time). If they legitimately fail to download it in time, you can always send them a new link.

    If you do it this way, there's no problem with size limitations or server attachment limitations. The user would be downloading the ebook the same way they download anything else from the net.

  5. #5
    Join Date
    Oct 2005
    Location
    Helena, MT
    Posts
    118
    Plugin Contributions
    0

    Default Re: email an ebook after purchase?

    that's great advice but I still need an example of the $attachments_list array. also I'm having trouble getting the custom html emails to work with the zen_mail function. they are arriving in plain text.

    any help would be great!

    all i really need is an example.

    thanks from jennifer

 

 

Similar Threads

  1. v154 Confirmation emails wont go to my email address after purchase
    By chetwilko in forum General Questions
    Replies: 10
    Last Post: 10 Sep 2015, 03:48 PM
  2. v150 Additional Information in Customer Email after purchase
    By mc12345678 in forum General Questions
    Replies: 0
    Last Post: 22 Jun 2013, 07:20 PM
  3. re; Adding email advice, after a customer makes a purchase
    By HeyIts007 in forum Managing Customers and Orders
    Replies: 6
    Last Post: 23 Dec 2012, 11:46 AM
  4. Sending Customer Confirmation Email After Purchase
    By cqdeline in forum Managing Customers and Orders
    Replies: 5
    Last Post: 24 May 2012, 12:26 PM
  5. Auto-send email and text massage after purchase?
    By savchenko01 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 27 Apr 2012, 07:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR