Two Issues - Email & Exporting to PDF...
  • Rogue23Rogue23 February 5

    Hi there,

    I set up SI this weekend and have been quite happy with the product overall. I've got just two outstanding issues:

    1. I customized the template a little bit, and most everything I changed worked fine. The Print Preview looks great, but for some reason, this doesn't match what I get when I export to PDF. Specifically:
    -I changed the order of the Quantity and Item Columns... This works fine in the preview, but in the PDF, it forces the Item columns to be 1 column wide and the Quantity Item (now the second column) to be 3 columns wide, ignoring how I have them set in the template.
    -The underlining in the detailed list looks great in the preview, but is just gone from the PDF. The rest of the underlining remains - only the part below each item is gone.

    Any idea why this would happen?

    2. I can not, for the life of me, make the email function work. After doing lots of research and trying every combination of settings I could think of, I have pretty much given up on it and will have to do it manually... this isn't the end of the world, but it would be nice if I could make it work. I am hosting on GoDaddy and using a Google apps account (gmail powered, but my own domain) for email with the following settings in my config file (as I said, I have tried many others, but this is what I have right now):

    email.host = smtp.gmail.com
    email.smtp_auth = true
    email.username = [email protected]
    email.password = mypassword
    email.smtpport = 465
    email.secure = ssl
    email.ack = false

    Any suggestions that would help me fix any of the above would be greatly appreciated.

    Thanks,
    Mark

  • mjnshostingmjnshosting February 5

    Hope this helps or points you in the right direction
    my config

    email.host = x.x.x.x
    email.smtp_auth = false
    email.username =
    email.password =
    email.smtpport = 25
    email.secure =
    email.ack = false


    For my setup i have my own smtp server that doesn't require auth for servers in my private network or on the no auth list. Of course this is different for everyone though. 1. Have you tried using the same settings above in an email client like Outlook to test if sending works.
    2. Does godaddy have any restrictions with sending email via php or anything like that. This is just a question to ask them. Maybe they can troubleshoot connecting to gmail. well depending how far you get in Tech Support.
    3. It may be worth it to put this on a VPS that you can control to avoid things like this. Panel based hosting has never been something that I like because of underlying issues with the shared box like restrictions.

    I am not sure how the PDF export works so i cant even begin to comment.

    A+,CCENT,CCNA and business owner tired of exporting XLS to PDF to a SMB share and calling it accounting! :)
    Ubuntu 10.04 LTS in VM on Proxmox (sweet!)
  • Rogue23Rogue23 February 7

    Thanks for the tips on the email... I still get a "Connection Refused" when I try using no authentication. When I try using authentication but no SSL, which works for me in my email client, I get this:
    Zend Mail Protocol Exception: is unsupported SSL type

    That is for these settings:
    email.host = smtp.gmail.com
    email.smtp_auth = true
    email.username = [email protected]
    email.password = mypassword
    email.smtpport = 25
    email.secure =
    email.ack = false

    I think that SHOULD work, but for some reason, it doesn't. I thought email.secure could be blank...?

    Does anyone know why the Print Preview and Exported PDF are rendering differently?

    Thanks.

  • mattmatt February 8

    gmail will only accept mail for on-delivery that is SSL and on port 465

    Outback Australia
  • Rogue23Rogue23 February 8

    Thanks Matt, but I believe those are the settings I was using in the original post above... and they don't work for me either.

    Does anyone have any input on the PDF not matching the Print Preview issue? That is more pressing for me at the moment. I changed the css to force the underlining in the template file, which takes care of that, but I still can't get the column widths to map over properly. It's like they are ignoring the code and being forced to span 1, 3, 1, 1 columns instead of the 3, 1, 1, 1 I have them set to span.

    -Mark

  • modirmodir February 9

    Regarding gmail. Please look at this page: http://code.google.com/p/simpleinvoices/wiki/HowTo#..._send_emails

    For the PDF issue I can not help you a lot. If you are just setting up a new system and you know a little bit about coding then I recommend you to download the latest code from subversion trunk. In there is a new PDF library. So it could be that your problem is gone with the new library.

  • Rogue23Rogue23 February 9

    Thanks for the link, but all it ends up telling me (unless I am missing something) is to use the exact settings I was using in my first post. I think the problem must have something to do with me not using an @gmail.com address, but rather an @mydomain.com address powered by gmail. Actually, that should be fairly easy to test if that is the case.

    OK, I just tried using the suggested settings with an @gmail.com account I have access to, and it still didn't work, so I have no idea and am giving up.

    Thanks for the tip on getting the latest code (I am running 2011.1) where exactly do I access the subversion trunk?

  • modirmodir February 10

    Here you can get subversion trunk: http://code.google.com/p/simpleinvoices/source/checkout

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories

Tagged