View Full Version : Email as attachment? Why?
ikonic
01-01-2007, 04:16 PM
In the settings I added a default email body along the lines of "your invoice is here, take a look" kind of thing.
The default email format is "send as email".
However, when I generate an invoice and send it as email it puts the email body I specified into a text attachment and adds that on to the invoice email.
Why doesn't it appear in the body of the email above the invoice itself?
Thanks!
K Software
01-01-2007, 04:23 PM
The text attachment is the text alternative for email clients that can't display HTML messages. Do you have your email client set to read HTML email?
ikonic
01-01-2007, 04:27 PM
When the invoice is sent it arrives as HTML and looks perfectly fine in HTML format.
I didn't realise that the Email Body was an alternative to the invoice body. That's cleared up now.
So... is there a way to add a header to the invoice with a bit of bumpf about what the invoice is all about (general stuff along the lines of "here's you invoice")?
K Software
01-01-2007, 04:30 PM
The invoice email subject can be set in the settings on the email tab. From the main window, Edit->Settings->Email Tab
ikonic
01-01-2007, 04:45 PM
I have set the subject up, but I was hoping there could be a bit more room in the body of the email itself with information about the invoice and then the invoice body following that.
The entire body would be along the lines of:
----------------------------
Thank you for your custom. Below you will find your invoice. An early payment is appreciated blah blah blah.
{and the usual invoice appears here}
----------------------------
K Software
01-01-2007, 04:50 PM
No, there isn't any way to add that above the invoice. Though if you only email invoices you could modify the invoice template directly. The invoice templates live in the c:\Program Files\kBilling\templates\invoices directory.
bmx_gal_18
01-03-2007, 12:53 AM
Though if you only email invoices you could modify the invoice template directly.
For those of us that do print out and email our invoices, would you be able to ad in the pull down list another invoice selection?
Such as Custom.
So when I do decide to email, I have that custom template with my greeting.
K Software
01-03-2007, 09:28 AM
A much more simple solution would be to just use the "send as attachment" (to send the HTML version as an attachment) or "send as PDF" email options - that way you have the email message part to add a text message and the customer still gets the nicely formatted invoice form.
niconedz
05-20-2008, 05:35 AM
Hi Mitch
In my settings, I've always had the Default Email Format set up as Attach PDF Invoice to Email.
Up until a couple of versions ago, an email would be sent with the default text of the Invoice Email Body in the email's body section and the invoice attached as a PDF. This was correct.
Since version 2.5.0 the emails are being sent with both the Invoice Email Body and the PDF as attachments. The email body is in a file called 'ATT00246.dat' or something similar.
How can I change this so that the Default Email Body is sent in the body section of the email?
btw, my Default email body is this:
=========
Dear <contact_name>,
Please find invoice no. <invoice_number> attached to this email.
Balance Due: <invoice_balance_due>
Best Regards
Billing Dept.
=========
Thanks
Nico
K Software
05-20-2008, 09:51 AM
Hi Nico - this was still a mystery to me... Until today.
http://answers.google.com/answers/threadview?id=373666
It looks like it could be several different things. Do you use MS Exchange server or Norton Antivirus? Both were reported to filter attachments like you've described.
niconedz
05-20-2008, 05:27 PM
Hi Mitch
I'm not on MS Exchange Server nor do I use norton.
I use Outlook 2007 (POP3) and Eset's NOD32 antivirus.
Thanks
Nico
K Software
05-20-2008, 10:24 PM
I reported a nasty false positive to NOD32 last week (they were flagging a kBilling file as a virus for some reason). I don't think that would cause what you're seeing but it is definitely something "in the middle" that doesn't like the way the attachments are going out. I'll do some more research and see if I can find anything NOD32 specific.
niconedz
07-03-2008, 03:19 AM
I reported a nasty false positive to NOD32 last week (they were flagging a kBilling file as a virus for some reason). I don't think that would cause what you're seeing but it is definitely something "in the middle" that doesn't like the way the attachments are going out. I'll do some more research and see if I can find anything NOD32 specific.
Any joy here Mitch?
K Software
07-03-2008, 08:39 AM
It seems that NOD is flagging any program that uses a certain protection software as a virus.. They never responded but I've tested through VirustTotal.com and the installer is no longer flagged.
I had another customer report the attachment problem and they tracked it down to unicode characters in the email body. Are you using any non-English text in the email subject or body?
K Software
07-03-2008, 11:28 AM
For all interested, I just added UTF8 support to the email message text. Backup your company file before installing but you can try the latest beta at http://www.k-billing.com/kbilling_installer_beta.exe
Please let me know how it works!
niconedz
07-03-2008, 08:05 PM
It seems that NOD is flagging any program that uses a certain protection software as a virus.. They never responded but I've tested through VirustTotal.com and the installer is no longer flagged.
I had another customer report the attachment problem and they tracked it down to unicode characters in the email body. Are you using any non-English text in the email subject or body?
No unicode chars.
here's what's in my email body:
=============================
Dear <contact_name>,
Please find invoice no. <invoice_number> attached to this email.
Balance Due: <invoice_balance_due>
Due Date: <invoice_due_date>
Best Regards
My Company
Billing Dept.
=============================
It started happening after I installed 2.6
niconedz
07-03-2008, 08:21 PM
For all interested, I just added UTF8 support to the email message text. Backup your company file before installing but you can try the latest beta at http://www.k-billing.com/kbilling_installer_beta.exe
Please let me know how it works!
It's still the same.
This is what's getting emailed:
http://img360.imageshack.us/img360/1093/emailreceivedtz6.gif
When I open the .dat file in a text editor, I get the text that's supposed to be in the email body.
A couple of clients have commented how unprofessional it looks. I know one of the clients doesn't use NOD or Norton.
-Nick
K Software
07-03-2008, 09:57 PM
I sent you a PM with an alternate email address.
K Software
07-09-2008, 09:30 AM
I found and fixed the problem here. It happened when special non-ascii characters were included in the email text (like the Euro symbol or any non-English character).
Grab the update from http://www.k-billing.com/kbilling_installer.exe
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.