Documentation ¶
Index ¶
Constants ¶
View Source
const ( GreenTXT = "\033[92m" // OK CyanTXT = "\033[96m" // INFO YellowTXT = "\033[1;32m" // Others RedTXT = "\033[91m" // ERROR EndTXT = "\033[00m" // Ending color )
Variables ¶
View Source
var ( Sc = bufio.NewScanner(os.Stdin) // OS STDIN SCANNER CurDate = time.Now().Format("Mon, 02 Jan 2006 15:04:05 -0700") // CURRENT DATE )
Functions ¶
Types ¶
type Opt ¶
type Opt struct { OptSMTPServ string // MX/SMTP flag SMTPServ string // MX/SMTP server Port string // PORT MailFrom string // MAIL FROM RcptTo string // RCPT TO HFrom string // Header From HTo string // Header To HSub string // Subject Body string // Body Content string // Content Date string // Date Attach string // Attachment AttachEncoded string // Content Attachment Ctype string // Content-Type MessageID string // Message-ID Xmailer string // X-Mailer Charset string // Encoding PromptContent bool // Write Content with prompt (Allow HTML) HTMLFile string // Read HTML file as Body HTMLFileContent []byte // HTML file content TXTFile string // Read txt file content TXTFileContent []byte // Txt file content Bs64 bool // Set base64 encoding Xprio string // X-Priority Boundary string // Custom Boundary Encoding string // Change encode (7bit / 8bit / binary) Gmail bool // Allow auth (Gmail...) SaveEml bool // Save email to an EML file Silent bool // Silent mode - Do not disaply overview or info }
Opt define all struct
Click to show internal directories.
Click to hide internal directories.