Jump to content

Recommended Posts

Posted

This is critical for many companies who don't want to fill their customer's inbox space with a PDF for every invoice notification. Even when optimized and without embedding fonts, the emails end up with an average weight of 70-100k.

 

* It can overload the SMTP queue when sending large amount of notifications,

 

* It forces the customer to actually download an attachment

 

* It may even put the relaying SMTP IPs in danger of being blacklisted or SMTP-filtered because of large number of identical attachment parameters (i.e. 2k emails in 1h, all of them with a 100k attachment)

 

* In some cases it can interfere with privacy policies in the sense that customers are receiving sensitive/confidential information over an unsecure channel like email, instead of having to first authenticate in the billing system over SSL to be able to access such information

 

A simpler approach can be more useful: let the customer know that an invoice has been generated (plain text email), and IF they want to look at the PDF, ask them to login to the billing system.

 

If this is not a current feature, could you at least suggest a workaround, even if it implies hacking/modifying part of the includes or the email generation class ?

 

Thanks.

Posted

Good suggestion!

 

You'll have to get your hands a little dirty, but you can disable sending attachments in invoice delivery emails by commenting out lines 80 - 85 in /components/invoice_delivery/invoice_delivery.php

 

                $attachments = array(
                   /*
                    array(
                        'path' => $inv_path,
                        'name' => $attachment_name,
                        'encoding' => "base64",
                        'type' => $this->company_settings['inv_mimetype']
                    )
                   */
                );
  • 11 years later...
Posted

Hi everyone...

Where can I locate this setting in our Blesta Admin. We need to stop sending the PDF invoice in one of our Blesta Install. 

Awaiting reply...Thank you.

 

On 7/19/2013 at 1:37 AM, Paul said:

This has been assigned to CORE-589 and is scheduled for version 3.1 currently. It will likely be a setting for the company and client group.

Posted
6 hours ago, ManagedCloud-Hosting said:

Hi everyone...

Where can I locate this setting in our Blesta Admin. We need to stop sending the PDF invoice in one of our Blesta Install. 

Awaiting reply...Thank you.

 

All Email Templates have an option to include attachments or not. Edit your 2 invoice email templates and uncheck the option to include the attachment. The email will be sent but it will include no attachments. Settings > Company > Emails

image.png

image.png

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...