The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
phpmailer problem
#3
Yes SPAM is a problem I could well do without. Google are making it more difficult to use free Gmail accounts.

They can disable your Gmail account for 24 hours if they detect unusual usage. As little as 100 messages in any 24 hours period could cause your account to be disabled for the next 24 hours.

I find it amusing to 'Google the problem' for fixes - some suggest a settings change is needed - visit the less secure apps settings page of the 'sending Google account' and turn on 'access to less secure apps' - but I have not seen this make any difference.

Alternatives to Gmail might be Mailgun - who offer the first 10,000 messages and 100 validations free every month - has anyone had any experience with Mailgun and the setup required?


I agree, deleting the php_mail.log file is probably the easiest quick bodge - even though I would prefer to fix the problem.

I have added the following code to init.php to automatically delete a large (>5000 bytes) php_mail.log file - just after the line:

require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';

$php_mail_log_path = realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "php_mail.log";
if (file_exists($php_mail_log_path)){
$php_mail_log_filesize = filesize($php_mail_log_path);
if ($php_mail_log_filesize > 5000){
unlink($php_mail_log_path);
}
}

Thanks
  Reply


Messages In This Thread
phpmailer problem - by Jeff - 11-22-2017, 06:30 PM
phpmailer problem - by mudmin - 11-23-2017, 02:28 PM
phpmailer problem - by Jeff - 11-23-2017, 06:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)