Emailing error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #744
    wayne27
    Participant

    Fatal error: Uncaught Swift_TransportException: Connection could not be established with host localhost [Connection refused #111] in /home2/abxhold1/public_html/drywallzilla.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269 Stack trace: #0 /home2/abxhold1/public_html/drywallzilla.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(58): Swift_Transport_StreamBuffer->establishSocketConnection() #1 /home2/abxhold1/public_html/drywallzilla.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(143): Swift_Transport_StreamBuffer->initialize(Array) #2 /home2/abxhold1/public_html/drywallzilla.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(65): Swift_Transport_AbstractSmtpTransport->start() #3 /home2/abxhold1/public_html/drywallzilla.com/Inc/Claz/Email.php(113): Swift_Mailer->send(Object(Swift_Message)) #4 /home2/abxhold1/public_html/drywallzilla.com/modules/invoices/email.php(67): Inc\Claz\Email->send() #5 /home2/abxh in /home2/abxhold1/public_html/drywallzilla.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 269

    #745
    RRowley
    Participant

    Typically a set up issue. Without giving me your username and password, what are the other settings for email in the config/custom.config.php file?

    #746
    wayne27
    Participant

    Thanks for your help on this… as below

    ———————————————-

    export.spreadsheet = xls
    export.wordprocessor = doc

    export.pdf.defaultfontsize = 12
    export.pdf.papersize = Letter
    export.pdf.leftmargin = 15
    export.pdf.rightmargin = 15
    export.pdf.topmargin = 15
    export.pdf.bottommargin = 15

    version.name = 2019.1.1
    version.update_date = 20190718

    local.locale = en_US
    local.precision = 2

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

    encryption.default.key = this_is_the_encryption_key_change_it
    nonce.key = this_should_be_random_and_secret_so_change_it
    nonce.timelimit = 3600

    debug.level = All
    debug.error_reporting = E_ERROR

    phpSettings.date.timezone = America/Vancouver
    phpSettings.display_startup_errors = 1
    phpSettings.display_errors = 1
    phpSettings.log_errors = 1
    phpSettings.error_log = tmp/log/php.log

    #747
    RRowley
    Participant

    Do you really have localhost email server setup and running? If so, what is it?

    You can use a remote server like gmail if you have and gmail account. Here are the settings for that>

    email.host = smtp.gmail.com
    email.smtp_auth = true
    email.username = your-gmail-username
    email.password = your-gmail-password
    email.smtpport = 465
    email.secure = SSL
    email.ack = false
    email.use_local_sendmail = false

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Emailing error’ is closed to new replies.