The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
[MAIL]_Could not instantiate mail function - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: [MAIL]_Could not instantiate mail function (/showthread.php?tid=1012)



[MAIL]_Could not instantiate mail function - alexuco - 03-23-2018

Hi there, a newbie in here but as I've seen above, with the same problems like the old times with de phpMailer. I've tried everything commented before. I've seen now helpers.php code has change because of the issues last year and before, but still doesn't work for me. I've tried with icloud account too, but nothing.Nor gmail nor iCloud I've been able to make them work.
Could be Xampp the problem and I should expect that it will work on my site once it has been deployed ?
This is a big problem, because mail confirmation on sign up, in my case, is mandatory for security reasons.
Any help out there? Thanks in advance
kind regards
Alex


[MAIL]_Could not instantiate mail function - Brandin - 03-23-2018

Have you set your settings on users/email_settings.php? Generally XAMPP does not support the PHP Mailer from what I understand so it is possible that is why it is not working-you'd be better off and it would be more reliable to use SMTP. You can set that up on email settings and set the error messages high and then test from users/email_test.php


[MAIL]_Could not instantiate mail function - alexuco - 03-27-2018

Hi Brandin, thanks for the fast reply. Sorry I didn't receive neither the email notification from here.

Well, I solved the email problem changing my gmail security settings in order to force they trust on last attempt as yours. You must to turn On -> 'Allow less secure apps' and in 'Recently used devices' say as well it was you.
Since I did that, everything at UserSpice began to send mail properly and instantly with gmail or any other with still XAMPP localhost.
I hope it helps to any other with same problem than I had.
Cheers !