Discover Packages
blitiri.com.ar/go/chasquid
internal
smtp
package
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Dec 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package smtp implements the Simple Mail Transfer Protocol as defined in RFC
5321 . It extends net/smtp as follows:
Supports SMTPUTF8, via MailAndRcpt.
Adds IsPermanent.
IsPermanent returns true if the error is permanent, and false otherwise.
If it can't tell, it returns false.
A Client represents a client connection to an SMTP server.
NewClient uses the given connection to create a new Client.
MailAndRcpt issues MAIL FROM and RCPT TO commands, in sequence.
It will check the addresses, decide if SMTPUTF8 is needed, and apply the
necessary transformations.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.