mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-21 21:30:50 +01:00
Fix typo in comment within Quit function
Corrected grammar in a comment to enhance code readability and maintain consistency. This change does not affect the functionality of the `Quit` method.
This commit is contained in:
parent
ea57644a8e
commit
563ccbab4a
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ func (c *Client) Noop() error {
|
|||
|
||||
// Quit sends the QUIT command and closes the connection to the server.
|
||||
func (c *Client) Quit() error {
|
||||
// If we did already tried to send a EHLO/HELO but it failed, we still need to be able to send
|
||||
// If we already tried to send a EHLO/HELO but it failed, we still need to be able to send
|
||||
// a QUIT to close the connection.
|
||||
// c.hello() will return the global helloErr of the Client, which will always be set if the HELO
|
||||
// failed before. Therefore if we already sent a HELO and the error is not nil, we skip another
|
||||
|
|
Loading…
Reference in a new issue