Skip to content

Commit

Permalink
Update Mail4Delphi.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosenha authored Mar 17, 2021
1 parent 2b8da49 commit 32a71ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mail4Delphi.pas
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ function TMail.SendMail: Boolean;
begin
if not SetUpEmail then
raise Exception.Create('Incomplete data!');
LImplicitConnection := False;
if not FIdSMTP.Connected then
LImplicitConnection := Self.Connect;
try
Expand Down

0 comments on commit 32a71ca

Please sign in to comment.