Tried everything SMTP connect() failed

Alright! I finally got around to trying that out.
I added dd($mail->ErrorInfo); for it to read:

dd($mail->ErrorInfo)
$CI->session->set_flashdata(‘alert_error’, $mail->ErrorInfo);

I did however run this script first and has no idea where to find the source files or how to use that tool. Remember, I run my 1.5.11 version on MAMP with the source files locally. Very simple setup. I just access InvoicePlane via localhost:8888/invoices

git clone GitHub - InvoicePlane/InvoicePlane: A self-hosted open source application for managing your invoices, clients and payments. ivplv1
cd ivplv1
composer install
yarn install && yarn grunt

Plus I ran:

Composer update

Aight, back to the error message from adding dd($mail->ErrorInfo):

An uncaught Exception was encountered
Type: Error
Message: Call to undefined function dd()
Filename: /Applications/MAMP/htdocs/invoices/application/modules/mailer/helpers/phpmailer_helper.php
Line Number: 150
Backtrace:
File: /Applications/MAMP/htdocs/invoices/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send
File: /Applications/MAMP/htdocs/invoices/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice
File: /Applications/MAMP/htdocs/invoices/index.php
Line: 325
Function: require_once

Does that tell you anything?

1 Like