﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14710	PHPMailer class can cause an already declared error if including wp-config in an external script	teamplaylotto		"Can the next update please wrap PHPMailer class in a if(!class_exists('PHPMailer')){} block?

If I am using an external script and include wp-config.php so I can use wordpress functions outside of Wordpress and the external script has already included the PHPMailer class, trying to use any wordpress code that results in an email being sent will cause a fatal error due to the class already being declared.

This happens even if I wrap the external phpmailer class in the if not exists block because wordpress tries to declare the class after it has already been declared in the external script."	feature request	closed	normal		Mail	3.0.1	normal	wontfix		
