Cannot open pdf from email confirmation