Mailer Error

i am working on a new site. I set up the email with the same settings as the original site I am running live. I have no email problems with this site but on the new site I am getting the error below. I spoke to my host

and they told me that because I am using the Gmail mx settings I have to use a gmail mail user account setting. That didn't work. I am using a mailing account that is setup on both the host and gmail accounts.

I don't understand what is going on.

thank you for your assistance.

ErrorMessage could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Hello.

Try to download the latest version of phpmailer and upload it to the app/lib/vendor/phpmailer directory.

Best regards

Robert.

thank you soft solid. beyond my capability so I gave it to help desk.

Do you know if his crosses paths with the reCAPTCHA2. I am having problems trying to get past without going thru 10-12 picture questions.and I know there is some mail connection to Google in the setup.

Thanks again