

add_action('phpmailer_init', function($phpmailer) { $phpmailer->isSMTP(); $phpmailer->Host = 'hosting.addmonte.co.uk'; $phpmailer->SMTPAuth = true; $phpmailer->Port = 587; $phpmailer->Username = 'website@englandspuzzle.com'; $phpmailer->Password = SMTP_PASSWORD; $phpmailer->SMTPSecure = 'tls'; $phpmailer->From = 'website@englandspuzzle.com'; $phpmailer->FromName = 'England’s Puzzle'; });