Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[E] secure = 'ssl' #10

Closed
lianglee opened this issue Jul 6, 2023 · 2 comments
Closed

[E] secure = 'ssl' #10

lianglee opened this issue Jul 6, 2023 · 2 comments

Comments

@lianglee
Copy link
Member

lianglee commented Jul 6, 2023

Michael told me if port is 465 then smtpsecure need to be ssl

@lianglee
Copy link
Member Author

lianglee commented Oct 12, 2023

Setting

if($settings->port == "465"){	
	$mail->SMTPSecure = "ssl";
}		

Won't work for many providers. Seems some expecting TLS instead.

@lianglee
Copy link
Member Author

Sticking with the rule

$settings->port == "587" = TLS
$settings->port == "465 = SSL

lianglee added a commit that referenced this issue Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant