Simple Invoices logo
    • CommentAuthorxereon
    • CommentTimeDec 10th 2009
     permalink
    Hi,

    i fixed the "Fatal error: Allowed memory size" using php.ini.

    Now when trying to send an invoice via email I get the following error...

    "Message could not be sent.
    Mailer Error: Language string failed to load: connect_host"

    should I post what i have in my config file?

    Any help would be highly appreciated.
    • CommentAuthorxereon
    • CommentTimeDec 11th 2009 edited
     permalink
    false alarm. problem solved. i have managed to get the emails to send to my email address on my web host. it wont send to any other email addresses though. :(

    Message could not be sent.
    Mailer Error: Language string failed to load: recipients_failed anyother@email.com


    any ideas?

    regards,

    Ben
  1.  permalink
    I use HostGator to host my site. I did not change the default mail settings and I get the "Mailer Error: Language string failed to load: connect_host" error. do I have to use valid server settings (ie gmail) or will it just use sendmail from where it is available on hostgator?
    • CommentAuthorjustin
    • CommentTimeFeb 10th 2010
     permalink
    hey mike

    i dont think gmail server will work with the phpmailer software we use to send email - you normally need to use the server provided by your host - and use the username/password if they insist

    ben - it the emails can go to your own domain and not others than i would suggest that this is most likely some email server config issue
    - are you using a username/password to connect to your mail server?
    -- maybe you might need to in order to send 'external' emails

    cheers

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthorddd
    • CommentTimeFeb 16th 2010
     permalink
    Hello,
    I can't send email from within Simple Invoices (local server) either since I've moved to IMAP gmail (before with pop gmail it was OK). Is there a tweak ?

    thanks
    catherine

    I've got error message :
    Warning: fsockopen() [function.fsockopen]: unable to connect to STARTTLS://localhost:587 (Unable to find the socket transport "STARTTLS" - did you forget to enable it when you configured PHP?) in /home/dd/www/invoices/modules/include/mail/class.smtp.php on line 122
    Message could not be sent.
    Mailer Error: Language string failed to load: connect_host
    • CommentAuthorjustin
    • CommentTimeFeb 24th 2010
     permalink
    hey ddd

    in the next version 2010.2 you should be able to use gmail IMAP fine - as its uses teh zend framework email component

    cheers

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthornjwrigley
    • CommentTimeFeb 28th 2010 edited
     permalink
    Hi there,

    I'm completely new to this. I have a domain and have installed Simple Invoices into a sub-directory of that domain. The account is hosted with DreamHost. It seemed to work just fine, until the email was tried. Same issue as above (and elsewhere).

    I have replaced the file that was recommended at code.google.com and altered the config.ini file.

    I still get the same issues.

    The fact of the matter is that I'm a newb and am confused! Sorry!

    My domain uses Google Apps for email and I was wondering if any kind soul would be able to explain to me what I need to do from start to finish? There seem to be a whole host of possible solutions, and I'm not sure which avenues I ought to pursue.

    The other option is just to wait for the next release, but I'd really like to get this going asap.

    Thanks for any help offered.
    • CommentAuthorj100
    • CommentTimeMar 3rd 2010
     permalink
    I am having the same issue and since I purchased my domain through google I can't move my email server

    When is 2010.2 coming out and is there a development release to try out?
    • CommentAuthorjustin
    • CommentTimeMar 3rd 2010
     permalink
    hey njwrigley and j100

    a beta release of 2010.2 should be out in a week or so - hopefully you guys can wait till then

    cheers

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthorj100
    • CommentTimeMar 3rd 2010
     permalink
    Thanks for the quick answer
    • CommentAuthorjustin
    • CommentTimeMar 3rd 2010
     permalink
    no worriesSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthorj100
    • CommentTimeMar 3rd 2010
     permalink
    quick question is there a way to use the php send mail feature or does that only send plain text messages?
    • CommentAuthornjwrigley
    • CommentTimeMar 4th 2010
     permalink
    Yeah - that's great - thanks justin.
    • CommentAuthorxereon
    • CommentTimeMar 10th 2010 edited
     permalink
    thanks justin,

    you were right.. i had in the config.ini file "proton.websiteactive.com" as the email.host when it should have been the usual "mail.whateva.com.au"

    cheers mate!
    • CommentAuthorjustin
    • CommentTimeMar 12th 2010
     permalink
    @j100
    - if we use plain php send then its harder to code to work with attachments, html emails etc.. the various library make emailing in php alot easier to use

    @xereon & njwrigley
    - no worries

    cheers

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthorj100
    • CommentTimeMar 15th 2010
     permalink
    A beta release of 2010.2

    Is it out yet we are dying to test the gmail support.
    • CommentAuthorj100
    • CommentTimeMay 14th 2010
     permalink
    I have been watching the beta on google code and I am wondering if the gmail features is ready for some testers to give it a try.

    I am volunteering for testing if you need any one

    Thanks again for the great product
    • CommentAuthorjustin
    • CommentTimeMay 14th 2010
     permalink
    hey j100
    i haven't tested with gmail

    grab a beta release and edit the config.ini file and put in gmail smtp details - similar to below and test


    email.host =smtp.gmail.com
    email.smtp_auth = true
    email.username = your gmail address
    email.password = your password
    email.smtpport = 587
    email.secure = tls
    email.ack = false


    let us know how you go

    cheers

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthorj100
    • CommentTimeJul 8th 2010
     permalink
    Just wondering if there is something I can do to fix this.

    Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing ./config/config.ini on line 10 ' in /home/content/78/2753578/html/voicedia321/library/Zend/Config/Ini.php:181 Stack trace: #0 /home/content/78/2753578/html/voicedia321/library/Zend/Config/Ini.php(201): Zend_Config_Ini->_parseIniFile('./config/config...') #1 /home/content/78/2753578/html/voicedia321/library/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile('./config/config...') #2 /home/content/78/2753578/html/voicedia321/include/init.php(126): Zend_Config_Ini->__construct('./config/config...', 'production', true) #3 /home/content/78/2753578/html/voicedia321/index.php(29): require_once('/home/content/7...') #4 {main} thrown in /home/content/78/2753578/html/voicedia321/library/Zend/Config/Ini.php on line 181