Skip to content

Commit

Permalink
Fixed typo in setting default ports for SMTP over SSL. (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
slaff authored Jul 5, 2018
1 parent 8b5b53b commit 49d9f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/SmingCore/Network/SmtpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ bool SmtpClient::connect(const URL& url)
if(!this->url.Port) {
this->url.Port = 25;
if(this->url.Protocol == SMTP_OVER_SSL_PROTOCOL) {
this->url.Protocol = 465;
this->url.Port = 465;
}
}

Expand Down

0 comments on commit 49d9f2a

Please sign in to comment.