Cannot send emails using php mailer

Fatal error : Uncaught exception ‘phpmailerException’ with message ‘SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub’ in /home/vol11_6/ Stack trace: #0 /home/vol11_6/ PHPMailer->smtpSend(‘Date: Tue, 18 M…’, ‘Hi! You request…’) #1 /home/vol11_6/ PHPMailer->postSend() #2 /home/vol11_6/ PHPMailer->send() #3 /home/vol11_6/ send_mail(Array) #4 {main} thrown in /home/vol11_6/ on line 1541

Can you share your code (hiding any passwords etc)?

I am using Project Burger for mofh (infinityfree uses mofh) and this thing uses php mailer.

Idk wht it doesnt works

Ok, can you share the SMTP details (making sure to hide your password)
TLS enabled
Login email: Hidden by MOD - PII
Password: ***********

Php mailer version 5.something
Php version: 5.6
Uses autoloader

Also i want to use MY OWN email server not gmail.

I had to ask one question just in case

when you say :

do you think maybe business e-mail address that has your domain after @

or you literally installed somewhere mail server and SMTP server ?

1 Like

Idk i am not expert in SMTP and mail servers.

I am trying to use Project Burger and php mailer doesnt works

I don’t think PHP mailer is supported here, you have to use SMTP.

I am using Hosticy but hosticy is based on mofh (iFastNet)

This is the InfinityFree forum, not the “all hosting providers using iFastNet’s platform” forum. We’re not here to help you build a competing brand.

Also, if you’re going to provide hosting, maybe you should know yourself how the hosting works instead of asking a competitor to fix your code for you?


I don’t own the code

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.