Has anyone gotten SMTP2GO or other comparible to work?

I am having a lot of difficulties getting any send mail configuration to work. Always get a 500 error.

Even tried identical setups to working projects and nothing works. Maybe it's a bug in Wappler 7?

If you have gotten SMTP2GO working, what did you use for ports etc?

Hi Brad,

I am using SMTP2GO with Port 587. Have you added and configured the CNAME records for the domain name in Sender Domains under Verified Senders settings?

If you show the exact error message it'll be better

How do i get the exact error message? I have debug turned on. But it doesn't seem to tell me much.

Debug mode turned on is all you need. Show me what you see

You're seeing that in the browser console, you need to look at the requests tab, the response

No I haven't done that. Wasn't even aware that was there. Looking into it now.

{
    "code": 0,
    "file": "\/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/modules\/mail.php",
    "line": 51,
    "message": "Class \"PHPMailer\\PHPMailer\\PHPMailer\" not found",
    "trace": "#0 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(223): modules\\mail->send()\n#1 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(195): lib\\App->execSteps()\n#2 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(163): lib\\App->execSteps()\n#3 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/modules\/core.php(204): lib\\App->exec()\n#4 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(223): modules\\core->trycatch()\n#5 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(163): lib\\App->execSteps()\n#6 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(152): lib\\App->exec()\n#7 \/home\/workb758\/gateway.koparadmin.com\/dmxConnectLib\/lib\/App.php(113): lib\\App->exec()\n#8 \/home\/workb758\/gateway.koparadmin.com\/dmxConnect\/api\/contact\/forms\/sendEmail.php(8): lib\\App->define()\n#9 {main}"
}

Hello @brad
Maybe related with this?

Yep, I manually upoaded the vendor folder and now I get:

Screenshot 2025-06-23 at 5.54.46 PM

Try SMTP port 2525 - your hosting provider might block common SMTP ports

I tried my hosting server smtp set up and now it works!!!

Thank you guys so much for pointing me in the right direction! :beers:

1 Like

To Summarize the fix, I:

1: Uploaded the Vendor folder manually. No idea why it doesn't get uploaded automatically anymore.
2: Couldn't get smtp2go working but was able to get it to work with my hosting server SMTP settings.