brad
June 23, 2025, 11:46pm
1
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?
Apple
June 24, 2025, 12:07am
3
brad:
Always get a 500 error.
If you show the exact error message it'll be better
brad
June 24, 2025, 12:12am
4
How do i get the exact error message? I have debug turned on. But it doesn't seem to tell me much.
Apple
June 24, 2025, 12:16am
5
Debug mode turned on is all you need. Show me what you see
Apple
June 24, 2025, 12:18am
7
You're seeing that in the browser console, you need to look at the requests tab, the response
brad
June 24, 2025, 12:18am
8
No I haven't done that. Wasn't even aware that was there. Looking into it now.
brad
June 24, 2025, 12:35am
9
{
"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}"
}
franse
June 24, 2025, 12:51am
10
Hello @brad
Maybe related with this?
Details:
Hi everyone,
I'm encountering an issue with Wappler 7 Beta 30 on macOS, using PHP
I created a mailer component named mail. Everything seems to be configured correctly, but when the Server Connect flow attempts to send the email, I get the following error:
{
"code": 0,
"file": "/var/www/html/dmxConnectLib/modules/mail.php",
"line": 51,
"message": "Class \"PHPMailer\\PHPMailer\\PHPMailer\" not found",
"trace": "#0 /var/www/html/dmxConnectLib/lib/App.php(224): modules\\mail->sā¦
brad
June 24, 2025, 12:55am
11
Yep, I manually upoaded the vendor folder and now I get:
Apple
June 24, 2025, 12:58am
12
Try SMTP port 2525 - your hosting provider might block common SMTP ports
brad
June 24, 2025, 12:59am
13
I tried my hosting server smtp set up and now it works!!!
Thank you guys so much for pointing me in the right direction!
1 Like
brad
June 24, 2025, 1:37am
14
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.