When ever I try to send an email verification, I get this error. Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 16384 bytes) in /vendor/phpmailer/phpmailer/src/PHPMailer.php on line 2896. Is this just a memory issue in the php.ini file or am I missing something else.
This is a memory setting issue on your server when PHPMailer.php tries to process your mail. Are you perhaps trying to attach a huge file? If so, make sure to increase your php memory limit.
When ever I try to send an email […]
Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 16384 bytes) in /vendor/phpmailer/phpmailer/src/PHPMailer.php on line 2896.
Is this just a memory issue in the php.ini file or am I missing something else.
This is a memory setting issue on your server when PHPMailer.php tries to process your mail. Are you perhaps trying to attach a huge file? If so, make sure to increase your php memory limit.
Reference:
https://github.com/PHPMailer/PHPMailer/issues/1863
https://stackoverflow.com/questions/19661424/issue-with-phpmailer-and-memory-limit